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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 106.6 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002268/0.002268, allocations: 290.9 kB / 303 MB, free: 9.496 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.146/1.146, allocations: 180.9 MB / 0.5261 GB, free: 14.7 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 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: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002671/0.002671, allocations: 102.8 kB / 0.7248 GB, free: 40.12 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1651, allocations: 94.16 MB / 0.8167 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2029/0.3679, allocations: 180 MB / 0.9925 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009725/0.3776, allocations: 7.863 MB / 1 GB, free: 8.867 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005979/0.3782, allocations: 19.88 kB / 1 GB, free: 8.848 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0007401/0.379, allocations: 250.2 kB / 1 GB, free: 8.602 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003351/0.3823, allocations: 1.268 MB / 1.002 GB, free: 7.328 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002045/0.3844, allocations: 0.7384 MB / 1.002 GB, free: 6.59 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001534/0.3859, allocations: 1.079 MB / 1.003 GB, free: 5.504 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005453/0.3865, allocations: 357.4 kB / 1.004 GB, free: 5.152 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00259/0.3891, allocations: 0.8548 MB / 1.005 GB, free: 4.305 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007374/0.3898, allocations: 462.3 kB / 1.005 GB, free: 3.852 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 6.033e-05/0.3898, allocations: 36 kB / 1.005 GB, free: 3.816 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001878/0.3917, allocations: 1.002 MB / 1.006 GB, free: 2.812 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001839/0.3919, allocations: 167.4 kB / 1.006 GB, free: 2.648 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002625/0.3922, allocations: 246.8 kB / 1.006 GB, free: 2.406 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001435/0.3936, allocations: 0.9421 MB / 1.007 GB, free: 1.461 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3936, allocations: 3.938 kB / 1.007 GB, free: 1.457 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3936, allocations: 0 / 1.007 GB, free: 1.457 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.3936, allocations: 0 / 1.007 GB, free: 1.457 MB / 0.7481 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.001507/0.3951, allocations: 0.8172 MB / 1.008 GB, free: 0.5898 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.171e-05/0.3952, allocations: 12.03 kB / 1.008 GB, free: 0.5781 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001157/0.3953, allocations: 82.45 kB / 1.008 GB, free: 500 kB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.3963, allocations: 143.6 kB / 1.008 GB, free: 356 kB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3431/0.7395, allocations: 407.6 kB / 1.009 GB, free: 194.9 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.744e-05/0.7395, allocations: 30.22 kB / 1.009 GB, free: 194.9 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.128e-05/0.7396, allocations: 39.41 kB / 1.009 GB, free: 194.9 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000709/0.7403, allocations: 446.4 kB / 1.009 GB, free: 194.8 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.7403, allocations: 5.438 kB / 1.009 GB, free: 194.8 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.7403, allocations: 18.62 kB / 1.009 GB, free: 194.8 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.7404, allocations: 11.03 kB / 1.009 GB, free: 194.8 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006162/0.741, allocations: 316.4 kB / 1.01 GB, free: 194.8 MB / 0.7481 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.001999/0.743, allocations: 2.012 MB / 1.012 GB, free: 193.5 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003945/0.7434, allocations: 232 kB / 1.012 GB, free: 193.5 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.7436, allocations: 136.4 kB / 1.012 GB, free: 193.5 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000549/0.7442, allocations: 308.5 kB / 1.012 GB, free: 193.2 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.7442, allocations: 36.44 kB / 1.012 GB, free: 193.1 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=24): time 1.754e-06/0.7442, allocations: 0 / 1.012 GB, free: 193.1 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24): time 0.001023/0.7452, allocations: 455.8 kB / 1.013 GB, free: 193 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.7452, allocations: 57.88 kB / 1.013 GB, free: 192.9 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004276/0.7457, allocations: 401.6 kB / 1.013 GB, free: 192.7 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.7457, allocations: 31.33 kB / 1.013 GB, free: 192.7 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.7458, allocations: 230.4 kB / 1.013 GB, free: 192.5 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.893e-05/0.7459, allocations: 88.42 kB / 1.014 GB, free: 192.5 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.393e-05/0.746, allocations: 54.25 kB / 1.014 GB, free: 192.4 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 8.128e-05/0.7461, allocations: 349.5 kB / 1.014 GB, free: 192.1 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/0.7463, allocations: 113.4 kB / 1.014 GB, free: 192.1 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002865/0.7466, allocations: 179.6 kB / 1.014 GB, free: 192 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005066/0.7471, allocations: 310.1 kB / 1.014 GB, free: 191.8 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.7471, allocations: 4.75 kB / 1.014 GB, free: 191.8 MB / 0.7481 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006423/0.7477, allocations: 370.6 kB / 1.015 GB, free: 191.7 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.7477, allocations: 8.188 kB / 1.015 GB, free: 191.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.7477, allocations: 2.812 kB / 1.015 GB, free: 191.7 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.7478, allocations: 7.219 kB / 1.015 GB, free: 191.6 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/0.7481, allocations: 57.7 kB / 1.015 GB, free: 191.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.7481, allocations: 7.391 kB / 1.015 GB, free: 191.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.7483, allocations: 42.45 kB / 1.015 GB, free: 191.6 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.698e-05/0.7483, allocations: 14.53 kB / 1.015 GB, free: 191.6 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 (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.0001507/0.7485, allocations: 171.3 kB / 1.015 GB, free: 191.5 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.445e-05/0.7486, allocations: 38.36 kB / 1.015 GB, free: 191.5 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007552/0.7493, allocations: 369.4 kB / 1.016 GB, free: 191.3 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.7493, allocations: 2.938 kB / 1.016 GB, free: 191.3 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.7493, allocations: 3.312 kB / 1.016 GB, free: 191.3 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.7493, allocations: 2.75 kB / 1.016 GB, free: 191.3 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/0.7508, allocations: 0.9407 MB / 1.016 GB, free: 190.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.7508, allocations: 3.531 kB / 1.016 GB, free: 190.8 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/0.7511, allocations: 45.53 kB / 1.016 GB, free: 190.8 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.7511, allocations: 2.812 kB / 1.016 GB, free: 190.8 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.7511, allocations: 8.203 kB / 1.017 GB, free: 190.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/0.7511, allocations: 11.33 kB / 1.017 GB, free: 190.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.7511, allocations: 3.328 kB / 1.017 GB, free: 190.7 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009245/0.7521, allocations: 0.6301 MB / 1.017 GB, free: 190.4 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001697/0.7522, allocations: 145.6 kB / 1.017 GB, free: 190.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.405e-05/0.7523, allocations: 12.75 kB / 1.017 GB, free: 190.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.7525, allocations: 11.55 kB / 1.017 GB, free: 190.2 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.886e-05/0.7526, allocations: 23.05 kB / 1.017 GB, free: 190.2 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.7526, allocations: 8.312 kB / 1.017 GB, free: 190.2 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002965/0.7529, allocations: 282.5 kB / 1.018 GB, free: 190.1 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8e-08/0.7529, allocations: 0.7812 kB / 1.018 GB, free: 190.1 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004705/0.7533, allocations: 113.3 kB / 1.018 GB, free: 190.1 MB / 0.7481 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.001318/0.7547, allocations: 1.246 MB / 1.019 GB, free: 189.2 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006013/0.7553, allocations: 280.5 kB / 1.019 GB, free: 189.1 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.7553, allocations: 0.9688 kB / 1.019 GB, free: 189.1 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002706/0.7555, allocations: 145.5 kB / 1.019 GB, free: 189.1 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.7566, allocations: 229.7 kB / 1.02 GB, free: 189 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0047/0.7613, allocations: 3.798 MB / 1.023 GB, free: 186.8 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.7616, allocations: 0.833 MB / 1.024 GB, free: 186 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004044/0.762, allocations: 95.98 kB / 1.024 GB, free: 186 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/0.7622, allocations: 143.2 kB / 1.024 GB, free: 185.9 MB / 0.7481 GB Notification: Performance of SimCode: time 6.71e-07/0.7622, allocations: 0 / 1.024 GB, free: 185.9 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03716/0.7994, allocations: 11.78 MB / 1.036 GB, free: 176.9 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/8.913, allocations: 0 / 1.036 GB, free: 176.9 MB / 0.7481 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.800062051042914] Failed to read output from testmodel.py, exit status != 0: 8.983879913110286 8.991738764 8.596168255 Calling exit ...