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.001319/0.001319, allocations: 108.9 kB / 16.41 MB, free: 6.449 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.001589/0.001589, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.482/1.482, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002561/0.002561, allocations: 288.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.118/1.118, allocations: 169.3 MB / 0.499 GB, free: 4.398 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002794/0.002794, allocations: 99.84 kB / 0.6821 GB, free: 6.898 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4232/0.426, allocations: 86.98 MB / 0.7671 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2143/0.6403, allocations: 179.9 MB / 0.9427 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01002/0.6503, allocations: 7.841 MB / 0.9504 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005549/0.6509, allocations: 19.88 kB / 0.9504 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007321/0.6516, allocations: 250.2 kB / 0.9506 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003224/0.6549, allocations: 1.264 MB / 0.9519 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001924/0.6568, allocations: 0.7436 MB / 0.9526 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001843/0.6586, allocations: 1.08 MB / 0.9536 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007306/0.6594, allocations: 347.8 kB / 0.954 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00334/0.6627, allocations: 0.8694 MB / 0.9548 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009649/0.6637, allocations: 430.5 kB / 0.9552 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.374e-05/0.6637, allocations: 36 kB / 0.9553 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00206/0.6658, allocations: 0.9548 MB / 0.9562 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002322/0.666, allocations: 159.5 kB / 0.9564 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002904/0.6663, allocations: 250.8 kB / 0.9566 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001866/0.6682, allocations: 0.9495 MB / 0.9575 GB, free: 108 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.6682, allocations: 0 / 0.9575 GB, free: 108 kB / 0.7169 GB Notification: Performance of FrontEnd: time 2.564e-06/0.6682, allocations: 0 / 0.9575 GB, free: 108 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.477e-06/0.6682, allocations: 3.938 kB / 0.9575 GB, free: 104 kB / 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.3841/1.052, allocations: 0.8135 MB / 0.9583 GB, free: 45.68 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/1.052, allocations: 9.156 kB / 0.9583 GB, free: 45.68 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/1.053, allocations: 157.2 kB / 0.9585 GB, free: 45.65 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000618/1.054, allocations: 408.5 kB / 0.9589 GB, free: 45.4 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.741e-05/1.054, allocations: 31.28 kB / 0.9589 GB, free: 45.4 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-05/1.054, allocations: 37.8 kB / 0.9589 GB, free: 45.4 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007768/1.055, allocations: 451.1 kB / 0.9594 GB, free: 45.3 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/1.055, allocations: 2.031 kB / 0.9594 GB, free: 45.3 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.447e-05/1.055, allocations: 15.19 kB / 0.9594 GB, free: 45.3 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/1.055, allocations: 10.31 kB / 0.9594 GB, free: 45.3 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006965/1.056, allocations: 321.3 kB / 0.9597 GB, free: 45.3 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.002031/1.058, allocations: 2.01 MB / 0.9617 GB, free: 43.96 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004272/1.058, allocations: 224.9 kB / 0.9619 GB, free: 43.93 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002434/1.058, allocations: 142.6 kB / 0.962 GB, free: 43.93 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005213/1.059, allocations: 301.1 kB / 0.9623 GB, free: 43.64 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/1.059, allocations: 39.38 kB / 0.9623 GB, free: 43.61 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=24): time 1.633e-06/1.059, allocations: 0.7812 kB / 0.9623 GB, free: 43.61 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24): time 0.0009833/1.06, allocations: 461.8 kB / 0.9628 GB, free: 43.55 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/1.06, allocations: 55.55 kB / 0.9628 GB, free: 43.48 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003829/1.06, allocations: 403.5 kB / 0.9632 GB, free: 43.36 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/1.06, allocations: 30.3 kB / 0.9632 GB, free: 43.33 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/1.06, allocations: 235.5 kB / 0.9635 GB, free: 43.2 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.758e-05/1.061, allocations: 86.11 kB / 0.9635 GB, free: 43.15 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/1.061, allocations: 59.45 kB / 0.9636 GB, free: 43.13 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.102e-05/1.061, allocations: 352.2 kB / 0.9639 GB, free: 42.82 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/1.061, allocations: 111.8 kB / 0.964 GB, free: 42.82 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002675/1.061, allocations: 183 kB / 0.9642 GB, free: 42.75 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004683/1.062, allocations: 308.9 kB / 0.9645 GB, free: 42.69 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.062, allocations: 0.8125 kB / 0.9645 GB, free: 42.69 MB / 0.7169 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000592/1.062, allocations: 360.5 kB / 0.9649 GB, free: 42.63 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/1.062, allocations: 6.656 kB / 0.9649 GB, free: 42.63 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.062, allocations: 3.266 kB / 0.9649 GB, free: 42.63 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/1.062, allocations: 3.406 kB / 0.9649 GB, free: 42.63 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/1.063, allocations: 59.38 kB / 0.9649 GB, free: 42.63 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/1.063, allocations: 12.45 kB / 0.9649 GB, free: 42.63 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/1.063, allocations: 39.86 kB / 0.965 GB, free: 42.61 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.33e-05/1.063, allocations: 16.17 kB / 0.965 GB, free: 42.61 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.0001411/1.063, allocations: 163 kB / 0.9652 GB, free: 42.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.702e-05/1.063, allocations: 42.75 kB / 0.9652 GB, free: 42.47 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000688/1.064, allocations: 377 kB / 0.9656 GB, free: 42.43 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/1.064, allocations: 3.281 kB / 0.9656 GB, free: 42.43 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.064, allocations: 5 kB / 0.9656 GB, free: 42.43 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/1.064, allocations: 1.406 kB / 0.9656 GB, free: 42.43 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/1.065, allocations: 0.9416 MB / 0.9665 GB, free: 42.06 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/1.065, allocations: 3.219 kB / 0.9665 GB, free: 42.06 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/1.065, allocations: 51.39 kB / 0.9665 GB, free: 42.06 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/1.065, allocations: 2.469 kB / 0.9665 GB, free: 42.06 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/1.065, allocations: 5.5 kB / 0.9665 GB, free: 42.06 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/1.065, allocations: 3.047 kB / 0.9665 GB, free: 42.06 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.065, allocations: 10.88 kB / 0.9666 GB, free: 42.05 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008125/1.066, allocations: 0.6343 MB / 0.9672 GB, free: 41.84 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/1.066, allocations: 154.2 kB / 0.9673 GB, free: 41.72 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.22e-05/1.066, allocations: 5.969 kB / 0.9673 GB, free: 41.72 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00022/1.067, allocations: 16.11 kB / 0.9673 GB, free: 41.72 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.779e-05/1.067, allocations: 25.38 kB / 0.9674 GB, free: 41.71 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/1.067, allocations: 7.312 kB / 0.9674 GB, free: 41.71 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002573/1.067, allocations: 285.7 kB / 0.9676 GB, free: 41.63 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/1.067, allocations: 0 / 0.9676 GB, free: 41.63 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004373/1.067, allocations: 108.2 kB / 0.9677 GB, free: 41.62 MB / 0.7169 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.0003509/1.068, allocations: 173.2 kB / 0.9679 GB, free: 41.54 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00055/1.068, allocations: 276.1 kB / 0.9682 GB, free: 41.54 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/1.068, allocations: 0 / 0.9682 GB, free: 41.54 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002865/1.069, allocations: 144.9 kB / 0.9683 GB, free: 41.54 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/1.07, allocations: 222 kB / 0.9685 GB, free: 41.51 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/1.071, allocations: 0.8207 MB / 0.9693 GB, free: 41.12 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/1.071, allocations: 0.8297 MB / 0.9701 GB, free: 40.41 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002706/1.071, allocations: 100.8 kB / 0.9702 GB, free: 40.41 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.001e-05/1.071, allocations: 34.52 kB / 0.9703 GB, free: 40.4 MB / 0.7169 GB Notification: Performance of SimCode: time 6.51e-07/1.071, allocations: 0 / 0.9703 GB, free: 40.4 MB / 0.7169 GB Notification: Performance of Templates: time 0.01268/1.084, allocations: 7.7 MB / 0.9778 GB, free: 40.21 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)