Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 114.9 kB / 16.42 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 183.2 kB / 17.35 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002082/0.002082, allocations: 300.5 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9223/0.9223, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 99.86 kB / 0.6821 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3907, allocations: 86.97 MB / 0.7671 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1749/0.5656, allocations: 179.4 MB / 0.9423 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009785/0.5754, allocations: 7.82 MB / 0.9499 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005272/0.576, allocations: 19.88 kB / 0.9499 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007049/0.5767, allocations: 250.2 kB / 0.9501 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002804/0.5796, allocations: 1.217 MB / 0.9513 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00164/0.5812, allocations: 0.7332 MB / 0.9521 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001109/0.5823, allocations: 1.076 MB / 0.9531 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005346/0.5829, allocations: 421.3 kB / 0.9535 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001997/0.5849, allocations: 0.8413 MB / 0.9543 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005325/0.5854, allocations: 430.5 kB / 0.9547 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.15e-05/0.5855, allocations: 36 kB / 0.9548 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001441/0.5869, allocations: 0.9509 MB / 0.9557 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.5871, allocations: 155.5 kB / 0.9558 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000212/0.5873, allocations: 246.8 kB / 0.9561 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.5885, allocations: 0.9465 MB / 0.957 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.5885, allocations: 0 / 0.957 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5885, allocations: 0 / 0.957 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.5885, allocations: 0 / 0.957 GB, free: 0.6953 MB / 0.7169 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.3037/0.8922, allocations: 0.7984 MB / 0.9578 GB, free: 193.3 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.8922, allocations: 8.656 kB / 0.9578 GB, free: 193.3 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.8933, allocations: 151 kB / 0.9579 GB, free: 193.3 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006068/0.8939, allocations: 405.9 kB / 0.9583 GB, free: 193 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/0.8939, allocations: 28.72 kB / 0.9584 GB, free: 193 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.258e-05/0.894, allocations: 37.28 kB / 0.9584 GB, free: 193 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008154/0.8948, allocations: 451.6 kB / 0.9588 GB, free: 192.7 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.8949, allocations: 0.6562 kB / 0.9588 GB, free: 192.7 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/0.8949, allocations: 19.81 kB / 0.9588 GB, free: 192.7 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.8949, allocations: 12.19 kB / 0.9589 GB, free: 192.7 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006861/0.8956, allocations: 324.6 kB / 0.9592 GB, free: 192.6 MB / 0.7169 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.001939/0.8976, allocations: 2.014 MB / 0.9611 GB, free: 191 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004702/0.898, allocations: 233.3 kB / 0.9613 GB, free: 190.9 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002802/0.8983, allocations: 150.7 kB / 0.9615 GB, free: 190.9 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005475/0.8989, allocations: 308.4 kB / 0.9618 GB, free: 190.6 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.8989, allocations: 41.56 kB / 0.9618 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=24): time 1.533e-06/0.8989, allocations: 1.219 kB / 0.9618 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24): time 0.001022/0.9, allocations: 457.6 kB / 0.9623 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.9, allocations: 54.12 kB / 0.9623 GB, free: 190.3 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003843/0.9004, allocations: 397.8 kB / 0.9627 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.9004, allocations: 27.05 kB / 0.9627 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.9005, allocations: 233.6 kB / 0.9629 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.258e-05/0.9006, allocations: 79.39 kB / 0.963 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.584e-05/0.9007, allocations: 58.33 kB / 0.9631 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.773e-05/0.9008, allocations: 356.8 kB / 0.9634 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/0.901, allocations: 108.8 kB / 0.9635 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000274/0.9013, allocations: 186.2 kB / 0.9637 GB, free: 189.3 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004716/0.9018, allocations: 306.8 kB / 0.964 GB, free: 189.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.9018, allocations: 5.406 kB / 0.964 GB, free: 189.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005969/0.9024, allocations: 363.9 kB / 0.9643 GB, free: 189 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.9024, allocations: 5.594 kB / 0.9643 GB, free: 189 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.9024, allocations: 1.156 kB / 0.9643 GB, free: 189 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.9024, allocations: 5.281 kB / 0.9644 GB, free: 189 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002747/0.9027, allocations: 56.22 kB / 0.9644 GB, free: 189 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.9027, allocations: 9.625 kB / 0.9644 GB, free: 189 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.903, allocations: 36.23 kB / 0.9645 GB, free: 189 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.903, allocations: 14.09 kB / 0.9645 GB, free: 189 MB / 0.7169 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.0001382/0.9032, allocations: 177.7 kB / 0.9646 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.361e-05/0.9032, allocations: 42.31 kB / 0.9647 GB, free: 188.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006925/0.9039, allocations: 369 kB / 0.965 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.904, allocations: 1.406 kB / 0.965 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.904, allocations: 3.844 kB / 0.965 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.9041, allocations: 145.8 kB / 0.9652 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.626e-05/0.9041, allocations: 5.875 kB / 0.9652 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.9044, allocations: 15.17 kB / 0.9652 GB, free: 188.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.373e-05/0.9044, allocations: 13.31 kB / 0.9652 GB, free: 188.5 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006897/0.9051, allocations: 392.2 kB / 0.9656 GB, free: 188.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008389/0.906, allocations: 0.6651 MB / 0.9662 GB, free: 188 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002275/0.9062, allocations: 135.3 kB / 0.9664 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000243/0.9065, allocations: 281.3 kB / 0.9666 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of Backend: time 3.7e-07/0.9065, allocations: 4.25 kB / 0.9666 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001213/0.9077, allocations: 482.5 kB / 0.9671 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of SimCode: time 0.001609/0.9093, allocations: 1.306 MB / 0.9684 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of Templates: time 0.01307/0.9224, allocations: 10.55 MB / 0.9787 GB, free: 178.5 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)