Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008543/0.0008543, allocations: 92.86 kB / 15.7 MB, free: 472 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.0009544/0.0009544, allocations: 173.1 kB / 16.58 MB, free: 6.848 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.352/1.352, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6944/0.6944, allocations: 115.5 MB / 407.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000308/0.000308, allocations: 12.22 kB / 495.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1283, allocations: 77.53 MB / 0.5593 GB, free: 9.406 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.4794/0.6078, allocations: 163.1 MB / 0.7186 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008455/0.6162, allocations: 7.287 MB / 0.7257 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004558/0.6167, allocations: 19.88 kB / 0.7257 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005825/0.6173, allocations: 166.8 kB / 0.7259 GB, free: 12.67 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002214/0.6196, allocations: 0.8864 MB / 0.7268 GB, free: 11.78 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.621, allocations: 0.5339 MB / 0.7273 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001354/0.6224, allocations: 1.306 MB / 0.7285 GB, free: 9.941 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004822/0.6229, allocations: 313.2 kB / 0.7288 GB, free: 9.637 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001437/0.6243, allocations: 0.6849 MB / 0.7295 GB, free: 8.949 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005786/0.6249, allocations: 422.5 kB / 0.7299 GB, free: 8.535 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.92e-05/0.625, allocations: 24 kB / 0.7299 GB, free: 8.512 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.6262, allocations: 0.5222 MB / 0.7305 GB, free: 7.988 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001577/0.6264, allocations: 139.6 kB / 0.7306 GB, free: 7.852 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.6265, allocations: 113.5 kB / 0.7307 GB, free: 7.734 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007066/0.6272, allocations: 0.5885 MB / 0.7313 GB, free: 7.145 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.6272, allocations: 0 / 0.7313 GB, free: 7.145 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6272, allocations: 0 / 0.7313 GB, free: 7.145 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.6272, allocations: 4 kB / 0.7313 GB, free: 7.141 MB / 0.545 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.0009943/0.6282, allocations: 0.7215 MB / 0.732 GB, free: 6.371 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.6283, allocations: 11.97 kB / 0.732 GB, free: 6.359 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009353/0.6292, allocations: 151.2 kB / 0.7321 GB, free: 6.211 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005659/0.6298, allocations: 367.7 kB / 0.7325 GB, free: 5.809 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/0.6298, allocations: 29 kB / 0.7325 GB, free: 5.781 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.905e-05/0.6299, allocations: 39.95 kB / 0.7325 GB, free: 5.742 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007467/0.6307, allocations: 458.4 kB / 0.733 GB, free: 5.27 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.6307, allocations: 3.938 kB / 0.733 GB, free: 5.266 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.684e-05/0.6307, allocations: 20 kB / 0.733 GB, free: 5.246 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.6307, allocations: 8 kB / 0.733 GB, free: 5.238 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006258/0.6314, allocations: 329.2 kB / 0.7333 GB, free: 4.918 MB / 0.545 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.002225/0.6336, allocations: 2.019 MB / 0.7353 GB, free: 2.719 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004194/0.634, allocations: 248.2 kB / 0.7355 GB, free: 2.469 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003239/0.6344, allocations: 148.8 kB / 0.7357 GB, free: 2.32 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000603/0.635, allocations: 323.2 kB / 0.736 GB, free: 1.949 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.635, allocations: 42.5 kB / 0.736 GB, free: 1.898 MB / 0.545 GB Notification: Performance of pre-optimization done (n=24): time 2.535e-06/0.635, allocations: 0 / 0.736 GB, free: 1.898 MB / 0.545 GB Notification: Performance of matching and sorting (n=24): time 0.0009657/0.636, allocations: 468.7 kB / 0.7365 GB, free: 1.438 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.6361, allocations: 51.41 kB / 0.7365 GB, free: 1.375 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000386/0.6364, allocations: 398 kB / 0.7369 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.6365, allocations: 25.7 kB / 0.7369 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.6366, allocations: 232.2 kB / 0.7371 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.742e-05/0.6367, allocations: 86.75 kB / 0.7372 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.442e-05/0.6367, allocations: 4 kB / 0.7372 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.6369, allocations: 350.8 kB / 0.7376 GB, free: 284 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/0.6371, allocations: 115.9 kB / 0.7377 GB, free: 168 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002786/0.6374, allocations: 182.7 kB / 0.7379 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.6376, allocations: 143.8 kB / 0.738 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.6377, allocations: 3.953 kB / 0.738 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000654/0.6383, allocations: 375.8 kB / 0.7384 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.6383, allocations: 4 kB / 0.7384 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.6384, allocations: 4 kB / 0.7384 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.6384, allocations: 4 kB / 0.7384 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/0.6387, allocations: 64.12 kB / 0.7384 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.6387, allocations: 4 kB / 0.7384 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002679/0.639, allocations: 56.38 kB / 0.7385 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.392e-05/0.639, allocations: 12 kB / 0.7385 GB, free: 15.3 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001691/0.6392, allocations: 165.7 kB / 0.7387 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.637e-05/0.6392, allocations: 51.42 kB / 0.7387 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007021/0.64, allocations: 380.9 kB / 0.7391 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.64, allocations: 0 / 0.7391 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.64, allocations: 7.938 kB / 0.7391 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.64, allocations: 7.984 kB / 0.7391 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/0.6414, allocations: 0.9474 MB / 0.74 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.6414, allocations: 4 kB / 0.74 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.6417, allocations: 51.91 kB / 0.7401 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.6417, allocations: 4 kB / 0.7401 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.6417, allocations: 4 kB / 0.7401 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.6417, allocations: 8.219 kB / 0.7401 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.6417, allocations: 0 / 0.7401 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009478/0.6427, allocations: 0.6567 MB / 0.7407 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.6428, allocations: 144.6 kB / 0.7409 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.444e-05/0.6429, allocations: 4 kB / 0.7409 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.6431, allocations: 27.97 kB / 0.7409 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.238e-05/0.6432, allocations: 23.94 kB / 0.7409 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.6432, allocations: 8 kB / 0.7409 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002875/0.6435, allocations: 287.1 kB / 0.7412 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6435, allocations: 0 / 0.7412 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004538/0.644, allocations: 111.8 kB / 0.7413 GB, free: 12.29 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003901/0.6444, allocations: 159 kB / 0.7414 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005823/0.645, allocations: 299.5 kB / 0.7417 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.645, allocations: 0 / 0.7417 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002761/0.6453, allocations: 158.7 kB / 0.7419 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.6463, allocations: 216.9 kB / 0.7421 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.6477, allocations: 0.9509 MB / 0.743 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.6481, allocations: 0.8236 MB / 0.7438 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003288/0.6484, allocations: 95.41 kB / 0.7439 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.639e-05/0.6485, allocations: 39.44 kB / 0.744 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.6485, allocations: 0 / 0.744 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of Templates: time 0.01303/0.6615, allocations: 6.993 MB / 0.7508 GB, free: 2.633 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)