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.006028/0.006028, allocations: 103.6 kB / 15.74 MB, free: 6.039 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.001346/0.001346, allocations: 195.8 kB / 16.68 MB, free: 5.953 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002061/0.002061, allocations: 292.7 kB / 290.8 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.962/0.962, allocations: 169.3 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 91.86 kB / 0.6815 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4336/0.4355, allocations: 86.97 MB / 0.7664 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1998/0.6353, allocations: 179.4 MB / 0.9416 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01459/0.65, allocations: 7.825 MB / 0.9492 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008402/0.6508, allocations: 19.88 kB / 0.9492 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.652, allocations: 246.2 kB / 0.9495 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004421/0.6564, allocations: 1.221 MB / 0.9507 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002579/0.659, allocations: 0.7277 MB / 0.9514 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002195/0.6612, allocations: 1.08 MB / 0.9524 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009847/0.6622, allocations: 405.4 kB / 0.9528 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00331/0.6656, allocations: 0.8447 MB / 0.9536 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.6666, allocations: 434.5 kB / 0.9541 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001361/0.6668, allocations: 47.94 kB / 0.9541 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002869/0.6697, allocations: 0.9432 MB / 0.955 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004263/0.6701, allocations: 159.6 kB / 0.9552 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005084/0.6706, allocations: 242.8 kB / 0.9554 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002665/0.6733, allocations: 0.9466 MB / 0.9563 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.6733, allocations: 3.938 kB / 0.9563 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6734, allocations: 0 / 0.9563 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.369e-05/0.6734, allocations: 0 / 0.9563 GB, free: 0.5508 MB / 0.7169 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.4074/1.081, allocations: 0.7946 MB / 0.9571 GB, free: 193.1 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/1.081, allocations: 9.781 kB / 0.9571 GB, free: 193.1 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/1.082, allocations: 149.9 kB / 0.9573 GB, free: 193.1 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007203/1.083, allocations: 405.2 kB / 0.9577 GB, free: 192.9 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.372e-05/1.083, allocations: 30.28 kB / 0.9577 GB, free: 192.9 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.982e-05/1.083, allocations: 36.97 kB / 0.9577 GB, free: 192.9 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000877/1.084, allocations: 449.9 kB / 0.9581 GB, free: 192.6 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/1.084, allocations: 4.438 kB / 0.9582 GB, free: 192.6 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.483e-05/1.084, allocations: 22.08 kB / 0.9582 GB, free: 192.6 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/1.084, allocations: 9.375 kB / 0.9582 GB, free: 192.6 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007072/1.085, allocations: 317 kB / 0.9585 GB, free: 192.5 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.002242/1.087, allocations: 2.014 MB / 0.9605 GB, free: 190.9 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004744/1.087, allocations: 243.2 kB / 0.9607 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002935/1.088, allocations: 144.9 kB / 0.9608 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005539/1.088, allocations: 312.2 kB / 0.9611 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/1.088, allocations: 32.75 kB / 0.9612 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=24): time 1.964e-06/1.088, allocations: 1.625 kB / 0.9612 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24): time 0.001085/1.089, allocations: 462.5 kB / 0.9616 GB, free: 190.3 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/1.089, allocations: 53.94 kB / 0.9616 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004321/1.09, allocations: 396.8 kB / 0.962 GB, free: 190 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/1.09, allocations: 31.23 kB / 0.9621 GB, free: 190 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/1.09, allocations: 230.2 kB / 0.9623 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.514e-05/1.09, allocations: 83.64 kB / 0.9624 GB, free: 189.7 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.104e-05/1.09, allocations: 57.11 kB / 0.9624 GB, free: 189.7 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.87e-05/1.09, allocations: 353.8 kB / 0.9627 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/1.09, allocations: 116.8 kB / 0.9629 GB, free: 189.3 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002635/1.091, allocations: 181 kB / 0.963 GB, free: 189.2 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004671/1.091, allocations: 313.3 kB / 0.9633 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.091, allocations: 2.781 kB / 0.9633 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006003/1.092, allocations: 355.1 kB / 0.9637 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/1.092, allocations: 9.344 kB / 0.9637 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/1.092, allocations: 5.922 kB / 0.9637 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/1.092, allocations: 4.016 kB / 0.9637 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/1.092, allocations: 60.75 kB / 0.9637 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/1.092, allocations: 2.922 kB / 0.9637 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002396/1.092, allocations: 36.38 kB / 0.9638 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.642e-05/1.092, allocations: 19.09 kB / 0.9638 GB, free: 188.9 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.0001442/1.093, allocations: 173.4 kB / 0.964 GB, free: 188.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.518e-05/1.093, allocations: 43.61 kB / 0.964 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006746/1.093, allocations: 364.9 kB / 0.9644 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/1.093, allocations: 3.5 kB / 0.9644 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/1.093, allocations: 0.6094 kB / 0.9644 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/1.093, allocations: 1.266 kB / 0.9644 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/1.095, allocations: 0.9368 MB / 0.9653 GB, free: 188 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/1.095, allocations: 3.281 kB / 0.9653 GB, free: 188 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002433/1.095, allocations: 55.08 kB / 0.9653 GB, free: 188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/1.095, allocations: 6.969 kB / 0.9653 GB, free: 188 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/1.095, allocations: 12.98 kB / 0.9654 GB, free: 188 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/1.095, allocations: 2.578 kB / 0.9654 GB, free: 188 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.095, allocations: 5.75 kB / 0.9654 GB, free: 188 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008212/1.096, allocations: 0.6247 MB / 0.966 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/1.096, allocations: 150.2 kB / 0.9661 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.597e-05/1.096, allocations: 4.797 kB / 0.9661 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/1.096, allocations: 14.66 kB / 0.9661 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.911e-05/1.096, allocations: 24.08 kB / 0.9662 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/1.096, allocations: 7.656 kB / 0.9662 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002599/1.097, allocations: 283.3 kB / 0.9664 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/1.097, allocations: 0 / 0.9664 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004477/1.097, allocations: 117 kB / 0.9665 GB, free: 187.4 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.000336/1.097, allocations: 176.2 kB / 0.9667 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005871/1.098, allocations: 287.5 kB / 0.967 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.098, allocations: 0 / 0.967 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002578/1.098, allocations: 151.8 kB / 0.9671 GB, free: 187.1 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/1.099, allocations: 229.8 kB / 0.9673 GB, free: 187.1 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/1.1, allocations: 0.8 MB / 0.9681 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/1.101, allocations: 0.8257 MB / 0.9689 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002604/1.101, allocations: 100.3 kB / 0.969 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.48e-05/1.101, allocations: 39.91 kB / 0.9691 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/1.101, allocations: 0 / 0.9691 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of Templates: time 0.01038/1.111, allocations: 7.664 MB / 0.9766 GB, free: 179.7 MB / 0.7169 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)