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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 221.6 kB / 23 MB, free: 4.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.4/1.4, allocations: 230.6 MB / 256.8 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00253/0.00253, allocations: 289.5 kB / 313.5 MB, free: 2.719 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.228/1.228, allocations: 180.6 MB / 0.5377 GB, free: 14.65 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002888/0.002888, allocations: 110.3 kB / 0.7407 GB, free: 27.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1896, allocations: 95.39 MB / 0.8339 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.6228/0.8124, allocations: 158.5 MB / 0.9887 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008195/0.8206, allocations: 7.208 MB / 0.9957 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006024/0.8212, allocations: 25.88 kB / 0.9957 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006478/0.8219, allocations: 256.5 kB / 0.996 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003098/0.825, allocations: 1.232 MB / 0.9972 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001975/0.827, allocations: 0.7523 MB / 0.9979 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001238/0.8282, allocations: 1.087 MB / 0.999 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005102/0.8287, allocations: 328.6 kB / 0.9993 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002524/0.8312, allocations: 0.8599 MB / 1 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007237/0.8319, allocations: 440 kB / 1.001 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.759e-05/0.832, allocations: 38.59 kB / 1.001 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001693/0.8337, allocations: 0.7936 MB / 1.001 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001897/0.8339, allocations: 165.4 kB / 1.002 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002826/0.8342, allocations: 206.1 kB / 1.002 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001621/0.8358, allocations: 0.9122 MB / 1.003 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.8358, allocations: 0.875 kB / 1.003 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8358, allocations: 0.5625 kB / 1.003 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.8358, allocations: 0.875 kB / 1.003 GB, free: 3.695 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.001433/0.8373, allocations: 0.7416 MB / 1.003 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.8373, allocations: 11.91 kB / 1.003 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009794/0.8383, allocations: 163.2 kB / 1.003 GB, free: 19.19 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006717/0.8389, allocations: 338.9 kB / 1.004 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.675e-05/0.839, allocations: 31.09 kB / 1.004 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.852e-05/0.8391, allocations: 34.97 kB / 1.004 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007874/0.8399, allocations: 451.3 kB / 1.004 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.8399, allocations: 0.5625 kB / 1.004 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.8399, allocations: 14.19 kB / 1.004 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.8399, allocations: 10.88 kB / 1.004 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000714/0.8406, allocations: 323.7 kB / 1.005 GB, free: 18.9 MB / 0.7325 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.001968/0.8426, allocations: 1.404 MB / 1.006 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003647/0.843, allocations: 225.1 kB / 1.006 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/0.8432, allocations: 139.8 kB / 1.006 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004449/0.8436, allocations: 81.11 kB / 1.006 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.8437, allocations: 36.12 kB / 1.006 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=24): time 1.563e-06/0.8437, allocations: 0.9375 kB / 1.006 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24): time 0.0009225/0.8446, allocations: 452.3 kB / 1.007 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.8446, allocations: 55.12 kB / 1.007 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/0.8449, allocations: 286.4 kB / 1.007 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.8449, allocations: 31.3 kB / 1.007 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.845, allocations: 240.6 kB / 1.007 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.334e-05/0.8451, allocations: 87.39 kB / 1.008 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.176e-05/0.8452, allocations: 60.55 kB / 1.008 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.8453, allocations: 340.7 kB / 1.008 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.8455, allocations: 111.2 kB / 1.008 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002931/0.8458, allocations: 262.1 kB / 1.008 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000446/0.8463, allocations: 303.3 kB / 1.009 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.8463, allocations: 1.938 kB / 1.009 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005581/0.8468, allocations: 362.9 kB / 1.009 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.8469, allocations: 9.031 kB / 1.009 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.8469, allocations: 2.125 kB / 1.009 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.8469, allocations: 3.312 kB / 1.009 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002559/0.8471, allocations: 62.78 kB / 1.009 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.8472, allocations: 2.656 kB / 1.009 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.8474, allocations: 32.78 kB / 1.009 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.203e-05/0.8474, allocations: 14.12 kB / 1.009 GB, free: 16.97 MB / 0.7325 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.0001813/0.8476, allocations: 166.7 kB / 1.009 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.516e-05/0.8476, allocations: 36.53 kB / 1.009 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006178/0.8482, allocations: 362.9 kB / 1.01 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.8482, allocations: 1.562 kB / 1.01 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.8482, allocations: 0.9062 kB / 1.01 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.8483, allocations: 8.75 kB / 1.01 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.8495, allocations: 0.8267 MB / 1.01 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.8495, allocations: 2.938 kB / 1.01 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/0.8497, allocations: 44.62 kB / 1.01 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.8498, allocations: 5.859 kB / 1.01 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.8498, allocations: 7.406 kB / 1.01 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.8498, allocations: 4.578 kB / 1.01 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.8498, allocations: 6.906 kB / 1.011 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008709/0.8507, allocations: 0.6266 MB / 1.011 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.8508, allocations: 57.73 kB / 1.011 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.267e-05/0.8508, allocations: 8.438 kB / 1.011 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.851, allocations: 11.48 kB / 1.011 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.83e-05/0.8511, allocations: 25.38 kB / 1.011 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.8511, allocations: 8.344 kB / 1.011 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001832/0.8513, allocations: 197.3 kB / 1.011 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7e-08/0.8513, allocations: 2.203 kB / 1.011 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005306/0.8518, allocations: 128.5 kB / 1.012 GB, free: 16.15 MB / 0.7325 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.0002885/0.8521, allocations: 151.3 kB / 1.012 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004972/0.8526, allocations: 283.9 kB / 1.012 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.8526, allocations: 0 / 1.012 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002199/0.8528, allocations: 147.2 kB / 1.012 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007365/0.8535, allocations: 134.4 kB / 1.012 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.8547, allocations: 0.838 MB / 1.013 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/0.8549, allocations: 229.6 kB / 1.013 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.824e-05/0.855, allocations: 33.97 kB / 1.013 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/0.855, allocations: 0 / 1.013 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of Templates: time 0.007653/0.8627, allocations: 5.897 MB / 1.019 GB, free: 15.09 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.008809313178062] Failed to read output from testmodel.py, exit status != 0: 0.8698712871409953 0.880584416 0.042291046000000006 Calling exit ...