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.001072/0.001072, allocations: 112.6 kB / 16.41 MB, free: 6.492 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.001051/0.001051, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.237/1.237, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6936/0.6936, allocations: 115.3 MB / 406.5 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 71.23 kB / 0.5577 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1373, allocations: 76.18 MB / 0.6321 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5197/0.657, allocations: 179.4 MB / 0.8073 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007484/0.6645, allocations: 7.836 MB / 0.8149 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007021/0.6652, allocations: 18.53 kB / 0.8149 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006761/0.666, allocations: 245.8 kB / 0.8152 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003021/0.669, allocations: 1.218 MB / 0.8164 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001761/0.6708, allocations: 0.7366 MB / 0.8171 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001163/0.672, allocations: 1.077 MB / 0.8181 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005288/0.6725, allocations: 401.4 kB / 0.8185 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002175/0.6747, allocations: 0.8376 MB / 0.8193 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005406/0.6752, allocations: 438.1 kB / 0.8197 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.609e-05/0.6753, allocations: 37.84 kB / 0.8198 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001623/0.6769, allocations: 0.9444 MB / 0.8207 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001333/0.6771, allocations: 157.5 kB / 0.8209 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002081/0.6773, allocations: 252.1 kB / 0.8211 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001217/0.6785, allocations: 0.9305 MB / 0.822 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.6785, allocations: 0 / 0.822 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.687e-06/0.6785, allocations: 0 / 0.822 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.6785, allocations: 3.938 kB / 0.822 GB, free: 7.668 MB / 0.5919 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.001051/0.6796, allocations: 0.8119 MB / 0.8228 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.6796, allocations: 10.06 kB / 0.8228 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008833/0.6805, allocations: 150 kB / 0.8229 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005305/0.6811, allocations: 405.9 kB / 0.8233 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.6811, allocations: 30.66 kB / 0.8234 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.914e-05/0.6812, allocations: 34.91 kB / 0.8234 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006626/0.6818, allocations: 446.2 kB / 0.8238 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.6819, allocations: 3.938 kB / 0.8238 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.627e-05/0.6819, allocations: 16.91 kB / 0.8238 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.6819, allocations: 14.06 kB / 0.8239 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005803/0.6825, allocations: 316.3 kB / 0.8242 GB, free: 6.086 MB / 0.5919 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.002007/0.6845, allocations: 2.013 MB / 0.8261 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003841/0.6849, allocations: 247.2 kB / 0.8264 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.6852, allocations: 146.3 kB / 0.8265 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005431/0.6857, allocations: 302.7 kB / 0.8268 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.6858, allocations: 38.5 kB / 0.8268 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 1.392e-06/0.6858, allocations: 0 / 0.8268 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.0009382/0.6867, allocations: 456 kB / 0.8273 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.6868, allocations: 56.09 kB / 0.8273 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003946/0.6872, allocations: 394 kB / 0.8277 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.6872, allocations: 36.33 kB / 0.8277 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.6873, allocations: 233.4 kB / 0.8279 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.526e-05/0.6874, allocations: 89.12 kB / 0.828 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.058e-05/0.6875, allocations: 51.95 kB / 0.8281 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.6876, allocations: 352.9 kB / 0.8284 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/0.6879, allocations: 114.1 kB / 0.8285 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.6881, allocations: 183.5 kB / 0.8287 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004367/0.6886, allocations: 306 kB / 0.829 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.6886, allocations: 0 / 0.829 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005496/0.6892, allocations: 363 kB / 0.8293 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.6892, allocations: 7.625 kB / 0.8293 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.6892, allocations: 3.25 kB / 0.8294 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.6892, allocations: 9.078 kB / 0.8294 GB, free: 1.891 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.6895, allocations: 54.23 kB / 0.8294 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.6895, allocations: 13.11 kB / 0.8294 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002203/0.6897, allocations: 43.67 kB / 0.8295 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.205e-05/0.6898, allocations: 14.19 kB / 0.8295 GB, free: 1.836 MB / 0.5919 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.0001741/0.6899, allocations: 168 kB / 0.8296 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.068e-05/0.69, allocations: 40.31 kB / 0.8297 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007006/0.6907, allocations: 365.2 kB / 0.83 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.6907, allocations: 2.562 kB / 0.83 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.6907, allocations: 0 / 0.83 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.6907, allocations: 0 / 0.83 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.6921, allocations: 0.9384 MB / 0.8309 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.6921, allocations: 10.64 kB / 0.831 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002266/0.6923, allocations: 47.45 kB / 0.831 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.6923, allocations: 2.125 kB / 0.831 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.6923, allocations: 8.656 kB / 0.831 GB, free: 0.7188 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.6924, allocations: 10.45 kB / 0.831 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.6924, allocations: 2.844 kB / 0.831 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008613/0.6932, allocations: 0.6379 MB / 0.8316 GB, free: 284 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.6934, allocations: 154.7 kB / 0.8318 GB, free: 132 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.188e-05/0.6934, allocations: 2.75 kB / 0.8318 GB, free: 132 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.6936, allocations: 19.58 kB / 0.8318 GB, free: 120 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.179e-05/0.6937, allocations: 15.89 kB / 0.8318 GB, free: 112 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.6937, allocations: 11.38 kB / 0.8318 GB, free: 108 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002648/0.694, allocations: 281.8 kB / 0.8321 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.694, allocations: 3.938 kB / 0.8321 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004453/0.6945, allocations: 115.2 kB / 0.8322 GB, free: 15.9 MB / 0.6075 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.0003689/0.6949, allocations: 176.4 kB / 0.8324 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004996/0.6954, allocations: 286.4 kB / 0.8327 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.6954, allocations: 448 / 0.8327 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002313/0.6956, allocations: 156 kB / 0.8328 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009588/0.6966, allocations: 222.9 kB / 0.833 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.6978, allocations: 0.7997 MB / 0.8338 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.6981, allocations: 0.8321 MB / 0.8346 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002672/0.6984, allocations: 90.58 kB / 0.8347 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.582e-05/0.6985, allocations: 35.84 kB / 0.8347 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.6985, allocations: 0 / 0.8347 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of Templates: time 0.01197/0.7105, allocations: 7.66 MB / 0.8422 GB, free: 10.11 MB / 0.6075 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)