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.007089/0.007089, allocations: 96.7 kB / 15.73 MB, free: 6.484 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.001421/0.001421, allocations: 191.3 kB / 16.67 MB, free: 6.391 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002118/0.002118, allocations: 279 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9521/0.9521, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 95.84 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1733, allocations: 86.97 MB / 0.7664 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5173/0.6906, allocations: 179.4 MB / 0.9416 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.008687/0.6993, allocations: 7.822 MB / 0.9492 GB, free: 7.539 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004281/0.6998, allocations: 23.88 kB / 0.9492 GB, free: 7.516 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0006016/0.7004, allocations: 242.2 kB / 0.9495 GB, free: 7.277 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002739/0.7032, allocations: 1.225 MB / 0.9507 GB, free: 6.047 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001734/0.705, allocations: 0.7251 MB / 0.9514 GB, free: 5.324 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001202/0.7062, allocations: 1.08 MB / 0.9524 GB, free: 4.242 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005273/0.7067, allocations: 413.4 kB / 0.9528 GB, free: 3.84 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002002/0.7087, allocations: 0.8298 MB / 0.9536 GB, free: 3.023 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005704/0.7093, allocations: 426.5 kB / 0.9541 GB, free: 2.605 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 6.421e-05/0.7094, allocations: 40 kB / 0.9541 GB, free: 2.566 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001624/0.711, allocations: 0.9548 MB / 0.955 GB, free: 1.609 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.7112, allocations: 151.6 kB / 0.9552 GB, free: 1.461 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0002349/0.7114, allocations: 246.8 kB / 0.9554 GB, free: 1.219 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.7127, allocations: 0.9528 MB / 0.9563 GB, free: 272 kB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.7127, allocations: 0 / 0.9563 GB, free: 272 kB / 0.7012 GB Notification: Performance of FrontEnd: time 1.243e-06/0.7127, allocations: 0 / 0.9563 GB, free: 272 kB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.7127, allocations: 0 / 0.9563 GB, free: 272 kB / 0.7012 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.001128/0.7139, allocations: 0.8211 MB / 0.9571 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.7139, allocations: 11.97 kB / 0.9571 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009251/0.7149, allocations: 158.2 kB / 0.9573 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005639/0.7154, allocations: 403.7 kB / 0.9577 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.7155, allocations: 29 kB / 0.9577 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.722e-05/0.7155, allocations: 36 kB / 0.9577 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007079/0.7162, allocations: 454.4 kB / 0.9582 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.7163, allocations: 3.938 kB / 0.9582 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.7163, allocations: 16 kB / 0.9582 GB, free: 14.24 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.7163, allocations: 15.94 kB / 0.9582 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006046/0.7169, allocations: 323.7 kB / 0.9585 GB, free: 13.91 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.002101/0.719, allocations: 2.013 MB / 0.9605 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000413/0.7195, allocations: 234.5 kB / 0.9607 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002497/0.7197, allocations: 148.8 kB / 0.9608 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005406/0.7203, allocations: 311.2 kB / 0.9611 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.7203, allocations: 38.5 kB / 0.9612 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=24): time 1.533e-06/0.7203, allocations: 0 / 0.9612 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24): time 0.001031/0.7214, allocations: 455.5 kB / 0.9616 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.7214, allocations: 55.41 kB / 0.9617 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003993/0.7218, allocations: 397.9 kB / 0.962 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.7218, allocations: 29.7 kB / 0.9621 GB, free: 9.98 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.722, allocations: 232.5 kB / 0.9623 GB, free: 9.75 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.097e-05/0.7221, allocations: 91.25 kB / 0.9624 GB, free: 9.66 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-05/0.7222, allocations: 61.64 kB / 0.9624 GB, free: 9.594 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.7223, allocations: 354.7 kB / 0.9628 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/0.7226, allocations: 115.9 kB / 0.9629 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002758/0.7229, allocations: 187.2 kB / 0.9631 GB, free: 8.918 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004931/0.7234, allocations: 306 kB / 0.9634 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.7234, allocations: 0 / 0.9634 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006056/0.724, allocations: 369 kB / 0.9637 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.724, allocations: 4 kB / 0.9637 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.724, allocations: 4 kB / 0.9637 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.724, allocations: 4 kB / 0.9637 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/0.7243, allocations: 55.91 kB / 0.9638 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.7243, allocations: 4.219 kB / 0.9638 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002713/0.7246, allocations: 44.72 kB / 0.9638 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/0.7247, allocations: 12 kB / 0.9638 GB, free: 8.105 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.0001606/0.7248, allocations: 166.9 kB / 0.964 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.225e-05/0.7249, allocations: 43.72 kB / 0.964 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006966/0.7256, allocations: 374.2 kB / 0.9644 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.7256, allocations: 0 / 0.9644 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.7256, allocations: 4 kB / 0.9644 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.7256, allocations: 7.984 kB / 0.9644 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001373/0.727, allocations: 0.9356 MB / 0.9653 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.727, allocations: 0 / 0.9653 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/0.7273, allocations: 51.91 kB / 0.9654 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.279e-06/0.7273, allocations: 4 kB / 0.9654 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.7273, allocations: 11.88 kB / 0.9654 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.7273, allocations: 4 kB / 0.9654 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.7273, allocations: 0 / 0.9654 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009588/0.7283, allocations: 0.6462 MB / 0.966 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.7285, allocations: 144.7 kB / 0.9662 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.58e-05/0.7285, allocations: 8 kB / 0.9662 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.7288, allocations: 11.98 kB / 0.9662 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.227e-05/0.7289, allocations: 19.97 kB / 0.9662 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.7289, allocations: 16.73 kB / 0.9662 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002969/0.7292, allocations: 283.2 kB / 0.9665 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7292, allocations: 4 kB / 0.9665 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004636/0.7297, allocations: 107.8 kB / 0.9666 GB, free: 5.152 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.0004354/0.7301, allocations: 172.2 kB / 0.9668 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005991/0.7307, allocations: 294.1 kB / 0.967 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7307, allocations: 0 / 0.967 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000277/0.731, allocations: 147.8 kB / 0.9672 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.7321, allocations: 230.1 kB / 0.9674 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.7333, allocations: 0.8417 MB / 0.9682 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.7337, allocations: 0.8233 MB / 0.969 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000305/0.734, allocations: 95.42 kB / 0.9691 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.695e-05/0.7341, allocations: 43.42 kB / 0.9692 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7341, allocations: 0 / 0.9692 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of Templates: time 0.01297/0.7471, allocations: 7.633 MB / 0.9766 GB, free: 10.96 MB / 0.7325 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)