Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001172/0.001172, allocations: 107.2 kB / 15.99 MB, free: 6.348 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.00108/0.001081, allocations: 189.2 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 205.1 MB / 222.8 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.677/1.677, allocations: 292.3 MB / 0.5492 GB, free: 13.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 70.56 kB / 0.6716 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2441, allocations: 114.5 MB / 0.7835 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.639/0.8831, allocations: 159.1 MB / 0.9389 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004643/0.8878, allocations: 4.514 MB / 0.9433 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004715/0.8883, allocations: 12.72 kB / 0.9433 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004714/0.8888, allocations: 102.1 kB / 0.9434 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0008789/0.8897, allocations: 316.7 kB / 0.9437 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008115/0.8905, allocations: 251 kB / 0.944 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006733/0.8912, allocations: 0.5607 MB / 0.9445 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000315/0.8915, allocations: 198.8 kB / 0.9447 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.8926, allocations: 447.5 kB / 0.9451 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002775/0.8929, allocations: 201.2 kB / 0.9453 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.177e-05/0.8929, allocations: 17.25 kB / 0.9454 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.8931, allocations: 85.05 kB / 0.9454 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.8932, allocations: 88.45 kB / 0.9455 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.8934, allocations: 116.8 kB / 0.9456 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003293/0.8937, allocations: 219 kB / 0.9458 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.8937, allocations: 2.328 kB / 0.9458 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8937, allocations: 0.6562 kB / 0.9458 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.892e-06/0.8937, allocations: 0 / 0.9458 GB, free: 5.852 MB / 0.7325 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.001157/0.8949, allocations: 0.5365 MB / 0.9464 GB, free: 21.42 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.8949, allocations: 14.72 kB / 0.9464 GB, free: 21.42 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.645e-05/0.895, allocations: 26.81 kB / 0.9464 GB, free: 21.4 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003681/0.8954, allocations: 270.8 kB / 0.9467 GB, free: 21.18 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.8954, allocations: 18.19 kB / 0.9467 GB, free: 21.18 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.798e-05/0.8955, allocations: 17.34 kB / 0.9467 GB, free: 21.18 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004434/0.8959, allocations: 260.6 kB / 0.9469 GB, free: 21.07 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.8959, allocations: 4.109 kB / 0.947 GB, free: 21.07 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.896, allocations: 15.33 kB / 0.947 GB, free: 21.06 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.896, allocations: 9.5 kB / 0.947 GB, free: 21.06 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003093/0.8963, allocations: 147.9 kB / 0.9471 GB, free: 21.06 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/0.8976, allocations: 1.371 MB / 0.9485 GB, free: 19.97 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.8979, allocations: 182.8 kB / 0.9486 GB, free: 19.82 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.898, allocations: 90.92 kB / 0.9487 GB, free: 19.78 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003741/0.8984, allocations: 126.5 kB / 0.9488 GB, free: 19.68 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.8984, allocations: 38.08 kB / 0.9489 GB, free: 19.64 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=10): time 1.874e-06/0.8984, allocations: 0 / 0.9489 GB, free: 19.64 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10): time 0.0006284/0.8991, allocations: 215.1 kB / 0.9491 GB, free: 19.59 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.8992, allocations: 185.1 kB / 0.9493 GB, free: 19.37 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002933/0.8995, allocations: 294.3 kB / 0.9495 GB, free: 19.27 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.8995, allocations: 25.7 kB / 0.9496 GB, free: 19.23 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.8996, allocations: 148.1 kB / 0.9497 GB, free: 19.14 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.8997, allocations: 37.09 kB / 0.9497 GB, free: 19.12 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.94e-05/0.8997, allocations: 42.08 kB / 0.9498 GB, free: 19.1 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.8999, allocations: 331.3 kB / 0.9501 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.9, allocations: 50.94 kB / 0.9501 GB, free: 18.78 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.9002, allocations: 114.8 kB / 0.9503 GB, free: 18.71 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000259/0.9005, allocations: 159 kB / 0.9504 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.9005, allocations: 0 / 0.9504 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003545/0.9008, allocations: 186.5 kB / 0.9506 GB, free: 18.6 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.9009, allocations: 10.03 kB / 0.9506 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.9009, allocations: 7.125 kB / 0.9506 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.9009, allocations: 4.234 kB / 0.9506 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.901, allocations: 35.95 kB / 0.9506 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.9011, allocations: 2.391 kB / 0.9506 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.9012, allocations: 29.36 kB / 0.9507 GB, free: 18.58 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.9013, allocations: 10.19 kB / 0.9507 GB, free: 18.58 MB / 0.7481 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.0001422/0.9014, allocations: 141.3 kB / 0.9508 GB, free: 18.46 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.9015, allocations: 32.66 kB / 0.9508 GB, free: 18.45 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003203/0.9019, allocations: 133.3 kB / 0.951 GB, free: 18.4 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.9019, allocations: 2.344 kB / 0.951 GB, free: 18.4 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.9019, allocations: 3.156 kB / 0.951 GB, free: 18.4 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.9019, allocations: 0.75 kB / 0.951 GB, free: 18.4 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008729/0.9028, allocations: 0.775 MB / 0.9517 GB, free: 17.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.9028, allocations: 3.906 kB / 0.9517 GB, free: 17.75 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.9029, allocations: 21.69 kB / 0.9518 GB, free: 17.75 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.9029, allocations: 3.5 kB / 0.9518 GB, free: 17.75 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.903, allocations: 2.047 kB / 0.9518 GB, free: 17.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.903, allocations: 3.781 kB / 0.9518 GB, free: 17.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.903, allocations: 3.5 kB / 0.9518 GB, free: 17.75 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000506/0.9035, allocations: 347.2 kB / 0.9521 GB, free: 17.56 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.9036, allocations: 110.8 kB / 0.9522 GB, free: 17.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.616e-05/0.9036, allocations: 3.469 kB / 0.9522 GB, free: 17.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.9038, allocations: 11.5 kB / 0.9522 GB, free: 17.45 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.9038, allocations: 17.19 kB / 0.9522 GB, free: 17.45 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-06/0.9039, allocations: 4.25 kB / 0.9522 GB, free: 17.45 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002025/0.9041, allocations: 208.4 kB / 0.9524 GB, free: 17.37 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.472e-06/0.9041, allocations: 4.062 kB / 0.9524 GB, free: 17.37 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003575/0.9044, allocations: 55.8 kB / 0.9525 GB, free: 17.36 MB / 0.7481 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.0003731/0.9048, allocations: 136.9 kB / 0.9526 GB, free: 17.27 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004515/0.9053, allocations: 126.3 kB / 0.9527 GB, free: 17.27 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.9053, allocations: 4.062 kB / 0.9528 GB, free: 17.27 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000173/0.9055, allocations: 63.06 kB / 0.9528 GB, free: 17.27 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007932/0.9063, allocations: 129.6 kB / 0.9529 GB, free: 17.25 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009713/0.9073, allocations: 0.5711 MB / 0.9535 GB, free: 16.86 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.9076, allocations: 0.7578 MB / 0.9542 GB, free: 16.16 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.059e-05/0.9077, allocations: 23.91 kB / 0.9543 GB, free: 16.15 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.9077, allocations: 0.9062 kB / 0.9543 GB, free: 16.15 MB / 0.7481 GB Notification: Performance of Templates: time 0.007885/0.9156, allocations: 3.806 MB / 0.958 GB, free: 15.84 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)