Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002101/0.002101, allocations: 196.4 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.1 MB / 222.5 MB, free: 4.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.631/1.631, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 70.23 kB / 0.6718 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2349, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.6627/0.8976, allocations: 179.4 MB / 0.9588 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008829/0.9065, allocations: 7.826 MB / 0.9665 GB, free: 216 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009692/0.9075, allocations: 20.44 kB / 0.9665 GB, free: 208 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008288/0.9085, allocations: 240.6 kB / 0.9667 GB, free: 108 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004011/0.9125, allocations: 1.226 MB / 0.9679 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002329/0.9148, allocations: 0.7328 MB / 0.9686 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002043/0.9169, allocations: 1.083 MB / 0.9697 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006328/0.9175, allocations: 407.2 kB / 0.9701 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002789/0.9203, allocations: 0.8329 MB / 0.9709 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000905/0.9212, allocations: 434.9 kB / 0.9713 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.87e-05/0.9213, allocations: 36.94 kB / 0.9713 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002313/0.9236, allocations: 0.9486 MB / 0.9723 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002116/0.9239, allocations: 159.8 kB / 0.9724 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000336/0.9242, allocations: 245.6 kB / 0.9727 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001719/0.9259, allocations: 0.9433 MB / 0.9736 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.9259, allocations: 1.312 kB / 0.9736 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.633e-06/0.926, allocations: 0 / 0.9736 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.926, allocations: 0 / 0.9736 GB, free: 15.09 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001252/0.9272, allocations: 0.8078 MB / 0.9744 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.9273, allocations: 8.844 kB / 0.9744 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.971e-05/0.9274, allocations: 77.53 kB / 0.9745 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009423/0.9283, allocations: 154.4 kB / 0.9746 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006486/0.929, allocations: 404.1 kB / 0.975 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.929, allocations: 29.66 kB / 0.975 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.18e-05/0.9291, allocations: 35.28 kB / 0.975 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000684/0.9298, allocations: 451.9 kB / 0.9755 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.9298, allocations: 0 / 0.9755 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.503e-05/0.9298, allocations: 21.69 kB / 0.9755 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.9299, allocations: 9.625 kB / 0.9755 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005752/0.9304, allocations: 321 kB / 0.9758 GB, free: 14.07 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002245/0.9327, allocations: 2.012 MB / 0.9778 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004076/0.9331, allocations: 239.2 kB / 0.978 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002626/0.9334, allocations: 146.3 kB / 0.9781 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005915/0.934, allocations: 311.7 kB / 0.9784 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.934, allocations: 39.58 kB / 0.9785 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=24): time 2.004e-06/0.934, allocations: 0 / 0.9785 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24): time 0.001039/0.9351, allocations: 456.9 kB / 0.9789 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.9351, allocations: 53.78 kB / 0.979 GB, free: 12 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003737/0.9355, allocations: 394.6 kB / 0.9793 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.9356, allocations: 33.7 kB / 0.9794 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.9357, allocations: 231.7 kB / 0.9796 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.805e-05/0.9358, allocations: 86.11 kB / 0.9797 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.427e-05/0.9359, allocations: 51.47 kB / 0.9797 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.936, allocations: 354.5 kB / 0.9801 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.9363, allocations: 112.5 kB / 0.9802 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002899/0.9366, allocations: 181.6 kB / 0.9803 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004638/0.937, allocations: 310 kB / 0.9806 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.937, allocations: 2.812 kB / 0.9806 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005805/0.9376, allocations: 369.3 kB / 0.981 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.9377, allocations: 5.531 kB / 0.981 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.9377, allocations: 2.609 kB / 0.981 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.9377, allocations: 6.516 kB / 0.981 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002589/0.938, allocations: 60.56 kB / 0.9811 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.938, allocations: 2.531 kB / 0.9811 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.9382, allocations: 40.61 kB / 0.9811 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-05/0.9383, allocations: 14.66 kB / 0.9811 GB, free: 10.65 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001821/0.9385, allocations: 178 kB / 0.9813 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.029e-05/0.9386, allocations: 38 kB / 0.9813 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007158/0.9393, allocations: 364.4 kB / 0.9817 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.9393, allocations: 6.5 kB / 0.9817 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.9393, allocations: 2.781 kB / 0.9817 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.9393, allocations: 0 / 0.9817 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/0.9407, allocations: 0.9424 MB / 0.9826 GB, free: 9.547 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.9408, allocations: 4.219 kB / 0.9826 GB, free: 9.543 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/0.941, allocations: 52.72 kB / 0.9827 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.941, allocations: 6.219 kB / 0.9827 GB, free: 9.523 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.941, allocations: 5.219 kB / 0.9827 GB, free: 9.523 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.9411, allocations: 6.75 kB / 0.9827 GB, free: 9.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.9411, allocations: 2.375 kB / 0.9827 GB, free: 9.52 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000924/0.942, allocations: 0.6278 MB / 0.9833 GB, free: 9.09 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.9422, allocations: 152.9 kB / 0.9834 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.43e-05/0.9422, allocations: 12.42 kB / 0.9835 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.9424, allocations: 8.375 kB / 0.9835 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.142e-05/0.9425, allocations: 21.28 kB / 0.9835 GB, free: 8.922 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.9425, allocations: 6.812 kB / 0.9835 GB, free: 8.922 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002752/0.9428, allocations: 283 kB / 0.9838 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9428, allocations: 3.938 kB / 0.9838 GB, free: 8.746 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004656/0.9433, allocations: 109.8 kB / 0.9839 GB, free: 8.727 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001517/0.9448, allocations: 1.243 MB / 0.9851 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005938/0.9454, allocations: 296 kB / 0.9854 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.9454, allocations: 2.812 kB / 0.9854 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002528/0.9457, allocations: 144.2 kB / 0.9855 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.9467, allocations: 219.3 kB / 0.9857 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004989/0.9517, allocations: 3.787 MB / 0.9894 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005282/0.9523, allocations: 0.8371 MB / 0.9902 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003473/0.9526, allocations: 98.2 kB / 0.9903 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/0.9529, allocations: 138.1 kB / 0.9905 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of SimCode: time 1.403e-06/0.9529, allocations: 4 kB / 0.9905 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03173/0.9846, allocations: 11.58 MB / 1.002 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.001/8.985, allocations: 22.5 kB / 1.002 GB, free: 14.18 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)