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.001488/0.001488, allocations: 103 kB / 16.4 MB, free: 6.512 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.001592/0.001593, allocations: 189.5 kB / 17.34 MB, free: 5.742 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 / 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.002053/0.002053, allocations: 284.4 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.002/1.002, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 99.84 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4462/0.4481, allocations: 86.98 MB / 0.7671 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1869/0.635, allocations: 179.4 MB / 0.9422 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008919/0.644, allocations: 7.837 MB / 0.9499 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000603/0.6446, allocations: 19.88 kB / 0.9499 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007453/0.6454, allocations: 246.2 kB / 0.9502 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003013/0.6485, allocations: 1.213 MB / 0.9513 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.6502, allocations: 0.7389 MB / 0.9521 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001239/0.6515, allocations: 1.08 MB / 0.9531 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006455/0.6522, allocations: 401.4 kB / 0.9535 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002349/0.6545, allocations: 0.845 MB / 0.9543 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000693/0.6552, allocations: 434.5 kB / 0.9547 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.6e-05/0.6553, allocations: 40 kB / 0.9548 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00163/0.6569, allocations: 0.947 MB / 0.9557 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001901/0.6572, allocations: 155.6 kB / 0.9558 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003016/0.6575, allocations: 250.7 kB / 0.9561 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001578/0.659, allocations: 0.9427 MB / 0.957 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.6591, allocations: 0 / 0.957 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6591, allocations: 0 / 0.957 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.94e-05/0.6591, allocations: 0 / 0.957 GB, free: 0.7227 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.3483/1.007, allocations: 0.804 MB / 0.9578 GB, free: 193.2 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/1.008, allocations: 9.594 kB / 0.9578 GB, free: 193.2 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/1.009, allocations: 152.3 kB / 0.9579 GB, free: 193.2 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006968/1.009, allocations: 405.4 kB / 0.9583 GB, free: 192.9 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.077e-05/1.009, allocations: 28.62 kB / 0.9584 GB, free: 192.9 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.357e-05/1.01, allocations: 36.75 kB / 0.9584 GB, free: 192.9 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008948/1.01, allocations: 449.8 kB / 0.9588 GB, free: 192.7 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/1.01, allocations: 0.625 kB / 0.9588 GB, free: 192.7 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.501e-05/1.011, allocations: 19.81 kB / 0.9588 GB, free: 192.7 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/1.011, allocations: 18.98 kB / 0.9589 GB, free: 192.7 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007081/1.011, allocations: 320.8 kB / 0.9592 GB, free: 192.6 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.002199/1.013, allocations: 2.009 MB / 0.9611 GB, free: 191 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004914/1.014, allocations: 234.7 kB / 0.9614 GB, free: 190.9 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002906/1.014, allocations: 150 kB / 0.9615 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005172/1.015, allocations: 305.1 kB / 0.9618 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/1.015, allocations: 36.34 kB / 0.9618 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=24): time 1.934e-06/1.015, allocations: 7.906 kB / 0.9618 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24): time 0.001022/1.016, allocations: 457.1 kB / 0.9623 GB, free: 190.3 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/1.016, allocations: 54.41 kB / 0.9623 GB, free: 190.3 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004111/1.016, allocations: 392.6 kB / 0.9627 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/1.016, allocations: 31.97 kB / 0.9627 GB, free: 190 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/1.016, allocations: 232 kB / 0.9629 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.77e-05/1.017, allocations: 84.22 kB / 0.963 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.973e-05/1.017, allocations: 57.31 kB / 0.9631 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.372e-05/1.017, allocations: 353.5 kB / 0.9634 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/1.017, allocations: 109.4 kB / 0.9635 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/1.017, allocations: 184.9 kB / 0.9637 GB, free: 189.3 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004944/1.018, allocations: 307.6 kB / 0.964 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/1.018, allocations: 0 / 0.964 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006152/1.018, allocations: 371.9 kB / 0.9643 GB, free: 189 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/1.018, allocations: 5.625 kB / 0.9643 GB, free: 189 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/1.018, allocations: 2.031 kB / 0.9643 GB, free: 189 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/1.018, allocations: 3.875 kB / 0.9644 GB, free: 189 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/1.019, allocations: 59.89 kB / 0.9644 GB, free: 189 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/1.019, allocations: 3.922 kB / 0.9644 GB, free: 189 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002419/1.019, allocations: 39.05 kB / 0.9645 GB, free: 189 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.86e-05/1.019, allocations: 10.94 kB / 0.9645 GB, free: 189 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.0001525/1.019, allocations: 176.7 kB / 0.9646 GB, free: 188.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.695e-05/1.019, allocations: 41.97 kB / 0.9647 GB, free: 188.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007072/1.02, allocations: 364.7 kB / 0.965 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/1.02, allocations: 9.609 kB / 0.965 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.02, allocations: 0 / 0.965 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/1.02, allocations: 1.969 kB / 0.965 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/1.021, allocations: 0.9372 MB / 0.9659 GB, free: 188.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/1.021, allocations: 2.672 kB / 0.9659 GB, free: 188.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/1.022, allocations: 48.19 kB / 0.966 GB, free: 188.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/1.022, allocations: 7.922 kB / 0.966 GB, free: 188.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/1.022, allocations: 12.12 kB / 0.966 GB, free: 188.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.533e-06/1.022, allocations: 8.016 kB / 0.966 GB, free: 188.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.022, allocations: 2.375 kB / 0.966 GB, free: 188.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000882/1.023, allocations: 0.6327 MB / 0.9666 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/1.023, allocations: 148.1 kB / 0.9668 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.774e-05/1.023, allocations: 5.016 kB / 0.9668 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/1.023, allocations: 15.84 kB / 0.9668 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.294e-05/1.023, allocations: 23.19 kB / 0.9668 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/1.023, allocations: 8.812 kB / 0.9668 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002739/1.023, allocations: 281 kB / 0.9671 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/1.023, allocations: 1.375 kB / 0.9671 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004691/1.024, allocations: 112.1 kB / 0.9672 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.0004044/1.024, allocations: 174.7 kB / 0.9674 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005996/1.025, allocations: 285.9 kB / 0.9676 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.025, allocations: 0.875 kB / 0.9676 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002754/1.025, allocations: 151.8 kB / 0.9678 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/1.026, allocations: 219.7 kB / 0.968 GB, free: 187.1 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/1.028, allocations: 0.8412 MB / 0.9688 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/1.028, allocations: 0.8317 MB / 0.9696 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/1.028, allocations: 37.09 kB / 0.9697 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of SimCode: time 1.163e-05/1.028, allocations: 0 / 0.9697 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of Templates: time 0.008504/1.037, allocations: 6.914 MB / 0.9764 GB, free: 180.5 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)