Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.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.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 109 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.001402/0.001402, 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.48/1.48, 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.002721/0.002721, allocations: 290.2 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.031/1.031, allocations: 169.2 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002751/0.002751, allocations: 91.86 kB / 0.6821 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4748/0.4775, allocations: 86.98 MB / 0.7671 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1906/0.6682, allocations: 161.8 MB / 0.9251 GB, free: 1.457 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.005699/0.6739, allocations: 4.551 MB / 0.9295 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003094/0.6742, allocations: 15.88 kB / 0.9295 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0004329/0.6746, allocations: 127.1 kB / 0.9297 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0007983/0.6754, allocations: 342.4 kB / 0.93 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007326/0.6761, allocations: 276.3 kB / 0.9302 GB, free: 12.15 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0006448/0.6768, allocations: 0.5651 MB / 0.9308 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003216/0.6771, allocations: 169.2 kB / 0.931 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009464/0.6781, allocations: 474.2 kB / 0.9314 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002633/0.6783, allocations: 183.3 kB / 0.9316 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.485e-05/0.6783, allocations: 23.98 kB / 0.9316 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.6785, allocations: 83.86 kB / 0.9317 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.6786, allocations: 83.73 kB / 0.9318 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.6787, allocations: 123.4 kB / 0.9319 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0004323/0.6792, allocations: 308.8 kB / 0.9322 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.6792, allocations: 3.938 kB / 0.9322 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.002e-06/0.6792, allocations: 0 / 0.9322 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.6792, allocations: 0 / 0.9322 GB, free: 10.16 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008768/0.6801, allocations: 0.5409 MB / 0.9327 GB, free: 9.574 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.6801, allocations: 12.03 kB / 0.9327 GB, free: 9.562 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.666e-05/0.6802, allocations: 31.75 kB / 0.9328 GB, free: 9.531 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004194/0.6806, allocations: 283.6 kB / 0.933 GB, free: 9.215 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.6806, allocations: 12 kB / 0.933 GB, free: 9.203 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.645e-05/0.6807, allocations: 24 kB / 0.9331 GB, free: 9.18 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004575/0.6811, allocations: 262.3 kB / 0.9333 GB, free: 8.887 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.6811, allocations: 7.938 kB / 0.9333 GB, free: 8.879 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/0.6812, allocations: 11.94 kB / 0.9333 GB, free: 8.867 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.6812, allocations: 4 kB / 0.9333 GB, free: 8.863 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003495/0.6815, allocations: 152.9 kB / 0.9335 GB, free: 8.715 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.6829, allocations: 1.368 MB / 0.9348 GB, free: 7.258 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003344/0.6832, allocations: 187.7 kB / 0.935 GB, free: 7.02 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/0.6834, allocations: 92.98 kB / 0.9351 GB, free: 6.91 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003632/0.6838, allocations: 125 kB / 0.9352 GB, free: 6.77 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.6838, allocations: 34.5 kB / 0.9352 GB, free: 6.727 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.6838, allocations: 3.938 kB / 0.9352 GB, free: 6.723 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10): time 0.0006214/0.6844, allocations: 210 kB / 0.9354 GB, free: 6.512 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.6845, allocations: 191.8 kB / 0.9356 GB, free: 6.281 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/0.6848, allocations: 287 kB / 0.9359 GB, free: 5.996 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.6849, allocations: 25.7 kB / 0.9359 GB, free: 5.965 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.685, allocations: 147.9 kB / 0.9361 GB, free: 5.816 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.685, allocations: 47.91 kB / 0.9361 GB, free: 5.77 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.77e-05/0.6851, allocations: 37.7 kB / 0.9361 GB, free: 5.727 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.6852, allocations: 330.8 kB / 0.9365 GB, free: 5.395 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.6854, allocations: 48.03 kB / 0.9365 GB, free: 5.348 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.6856, allocations: 123.6 kB / 0.9366 GB, free: 5.199 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/0.6859, allocations: 154.7 kB / 0.9368 GB, free: 5.023 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.6859, allocations: 4 kB / 0.9368 GB, free: 5.02 MB / 0.7012 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003845/0.6863, allocations: 185.3 kB / 0.937 GB, free: 4.832 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.6863, allocations: 8.156 kB / 0.937 GB, free: 4.824 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.6863, allocations: 8 kB / 0.937 GB, free: 4.816 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.6863, allocations: 4 kB / 0.937 GB, free: 4.812 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.6864, allocations: 27.98 kB / 0.937 GB, free: 4.785 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.6864, allocations: 4 kB / 0.937 GB, free: 4.781 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.6866, allocations: 31.77 kB / 0.937 GB, free: 4.75 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.6866, allocations: 12 kB / 0.937 GB, free: 4.738 MB / 0.7012 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 (15): * Single equations (assignments): 15 * 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.0001389/0.6868, allocations: 141.8 kB / 0.9372 GB, free: 4.59 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.6869, allocations: 31.8 kB / 0.9372 GB, free: 4.559 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003429/0.6872, allocations: 131 kB / 0.9373 GB, free: 4.422 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.6872, allocations: 0 / 0.9373 GB, free: 4.422 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.6873, allocations: 4 kB / 0.9373 GB, free: 4.418 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.6873, allocations: 0 / 0.9373 GB, free: 4.418 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008786/0.6881, allocations: 0.7769 MB / 0.9381 GB, free: 3.566 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.6881, allocations: 4.125 kB / 0.9381 GB, free: 3.562 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.6883, allocations: 27.92 kB / 0.9381 GB, free: 3.535 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.6883, allocations: 0 / 0.9381 GB, free: 3.535 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.6883, allocations: 4 kB / 0.9381 GB, free: 3.531 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.6883, allocations: 0 / 0.9381 GB, free: 3.531 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.6883, allocations: 4 kB / 0.9381 GB, free: 3.527 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005502/0.6888, allocations: 347.6 kB / 0.9385 GB, free: 3.156 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.6889, allocations: 113 kB / 0.9386 GB, free: 3.027 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.689, allocations: 3.938 kB / 0.9386 GB, free: 3.023 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.6891, allocations: 12 kB / 0.9386 GB, free: 3.012 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.517e-05/0.6892, allocations: 15.86 kB / 0.9386 GB, free: 2.996 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.6892, allocations: 4 kB / 0.9386 GB, free: 2.992 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002076/0.6894, allocations: 209.9 kB / 0.9388 GB, free: 2.793 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7e-08/0.6894, allocations: 0 / 0.9388 GB, free: 2.793 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0003401/0.6897, allocations: 55.95 kB / 0.9389 GB, free: 2.738 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.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 (10): * Single equations (assignments): 10 * 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.0004371/0.6901, allocations: 150.9 kB / 0.939 GB, free: 2.59 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0004048/0.6906, allocations: 116.2 kB / 0.9391 GB, free: 2.477 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6906, allocations: 4.062 kB / 0.9391 GB, free: 2.473 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.6907, allocations: 51.91 kB / 0.9392 GB, free: 2.422 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008689/0.6916, allocations: 140 kB / 0.9393 GB, free: 2.285 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.693, allocations: 491.4 kB / 0.9398 GB, free: 1.762 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005446/0.6935, allocations: 0.7558 MB / 0.9405 GB, free: 0.9805 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001791/0.6937, allocations: 54.25 kB / 0.9406 GB, free: 0.9258 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.667e-05/0.6937, allocations: 19.44 kB / 0.9406 GB, free: 0.9062 MB / 0.7012 GB Notification: Performance of SimCode: time 1.343e-06/0.6937, allocations: 0 / 0.9406 GB, free: 0.9062 MB / 0.7012 GB Notification: Performance of Templates: time 0.009998/0.7037, allocations: 4.267 MB / 0.9447 GB, free: 12.71 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)