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.000917/0.000917, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000806/0.000806, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8719/0.8719, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.001456/0.001456, allocations: 230.1 kB / 259.4 MB, free: 13.03 MB / 250.7 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 0.6797/0.6797, allocations: 138.4 MB / 454.3 MB, free: 30 MB / 410.7 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: "" <> 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 1.863e-06/1.863e-06, allocations: 0 / 0.6463 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.371e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.3905/0.3906, allocations: 158.4 MB / 0.801 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.006435/0.397, allocations: 7.174 MB / 0.808 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00055/0.3975, allocations: 27.75 kB / 0.808 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006304/0.3982, allocations: 250.2 kB / 0.8083 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002548/0.4007, allocations: 1.267 MB / 0.8095 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00162/0.4023, allocations: 0.7971 MB / 0.8103 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001183/0.4035, allocations: 1.084 MB / 0.8113 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004586/0.404, allocations: 325.5 kB / 0.8116 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002197/0.4062, allocations: 0.9941 MB / 0.8126 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004713/0.4067, allocations: 406.9 kB / 0.813 GB, free: 264 kB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.645e-05/0.4067, allocations: 44.66 kB / 0.813 GB, free: 220 kB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.4079, allocations: 0.7983 MB / 0.8138 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.408, allocations: 175.4 kB / 0.814 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.4082, allocations: 175.6 kB / 0.8142 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.4094, allocations: 0.9542 MB / 0.8151 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4094, allocations: 0 / 0.8151 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.444e-06/0.4094, allocations: 0 / 0.8151 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.4094, allocations: 0.5625 kB / 0.8151 GB, free: 14.11 MB / 0.6511 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.0008649/0.4103, allocations: 0.7419 MB / 0.8158 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.4103, allocations: 9.938 kB / 0.8158 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.142e-05/0.4104, allocations: 78.45 kB / 0.8159 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005347/0.4109, allocations: 160.9 kB / 0.8161 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004368/0.4113, allocations: 344.4 kB / 0.8164 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.4114, allocations: 36.83 kB / 0.8164 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.636e-05/0.4114, allocations: 36 kB / 0.8164 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005149/0.4119, allocations: 442.4 kB / 0.8169 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.4119, allocations: 0 / 0.8169 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.108e-05/0.412, allocations: 16 kB / 0.8169 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.412, allocations: 12 kB / 0.8169 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003939/0.4124, allocations: 331.6 kB / 0.8172 GB, free: 11.85 MB / 0.6511 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.001401/0.4138, allocations: 1.474 MB / 0.8187 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/0.4141, allocations: 228.6 kB / 0.8189 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.4142, allocations: 136.8 kB / 0.819 GB, free: 9.938 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002915/0.4145, allocations: 80.41 kB / 0.8191 GB, free: 9.859 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.4145, allocations: 44.81 kB / 0.8191 GB, free: 9.809 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=24): time 2.485e-06/0.4145, allocations: 0 / 0.8191 GB, free: 9.809 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24): time 0.000709/0.4152, allocations: 457.9 kB / 0.8196 GB, free: 9.359 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.4153, allocations: 55.41 kB / 0.8196 GB, free: 9.293 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003178/0.4156, allocations: 401.9 kB / 0.82 GB, free: 8.891 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.4156, allocations: 33.7 kB / 0.82 GB, free: 8.852 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.4157, allocations: 228.6 kB / 0.8202 GB, free: 8.625 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.031e-05/0.4158, allocations: 87.22 kB / 0.8203 GB, free: 8.539 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.708e-05/0.4159, allocations: 57.7 kB / 0.8204 GB, free: 8.477 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.642e-05/0.4159, allocations: 346.8 kB / 0.8207 GB, free: 8.129 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.4161, allocations: 111.9 kB / 0.8208 GB, free: 8.02 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/0.4163, allocations: 263.8 kB / 0.8211 GB, free: 7.719 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003026/0.4166, allocations: 303.5 kB / 0.8214 GB, free: 7.398 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.4167, allocations: 3.938 kB / 0.8214 GB, free: 7.395 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003925/0.417, allocations: 370.2 kB / 0.8217 GB, free: 7.027 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.4171, allocations: 4 kB / 0.8217 GB, free: 7.023 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.4171, allocations: 4 kB / 0.8217 GB, free: 7.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.4171, allocations: 7.984 kB / 0.8217 GB, free: 7.012 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.4172, allocations: 55.92 kB / 0.8218 GB, free: 6.957 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.4173, allocations: 9.078 kB / 0.8218 GB, free: 6.949 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.4174, allocations: 39.72 kB / 0.8218 GB, free: 6.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.4174, allocations: 8 kB / 0.8218 GB, free: 6.902 MB / 0.6511 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.0001381/0.4176, allocations: 170.5 kB / 0.822 GB, free: 6.727 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.135e-05/0.4176, allocations: 43.72 kB / 0.822 GB, free: 6.684 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004517/0.4181, allocations: 376 kB / 0.8224 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.4181, allocations: 0 / 0.8224 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.4181, allocations: 0 / 0.8224 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.4181, allocations: 7.125 kB / 0.8224 GB, free: 6.309 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.4191, allocations: 0.8778 MB / 0.8233 GB, free: 5.367 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4191, allocations: 0 / 0.8233 GB, free: 5.367 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.4193, allocations: 51.91 kB / 0.8233 GB, free: 5.316 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.4193, allocations: 4 kB / 0.8233 GB, free: 5.312 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.4193, allocations: 4 kB / 0.8233 GB, free: 5.309 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.79e-06/0.4193, allocations: 7.938 kB / 0.8233 GB, free: 5.301 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.4193, allocations: 224 / 0.8233 GB, free: 5.301 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000597/0.4199, allocations: 0.6389 MB / 0.824 GB, free: 4.625 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.339e-05/0.42, allocations: 71.64 kB / 0.824 GB, free: 4.555 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.42, allocations: 15.92 kB / 0.824 GB, free: 4.539 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.4201, allocations: 8 kB / 0.824 GB, free: 4.531 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.499e-05/0.4202, allocations: 23.91 kB / 0.8241 GB, free: 4.508 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.4202, allocations: 8 kB / 0.8241 GB, free: 4.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001918/0.4204, allocations: 291.2 kB / 0.8244 GB, free: 4.223 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5e-08/0.4204, allocations: 0 / 0.8244 GB, free: 4.223 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003482/0.4207, allocations: 107.8 kB / 0.8245 GB, free: 4.117 MB / 0.6511 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.0009616/0.4217, allocations: 1.225 MB / 0.8257 GB, free: 2.844 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003736/0.4221, allocations: 275.6 kB / 0.8259 GB, free: 2.574 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4221, allocations: 0 / 0.8259 GB, free: 2.574 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000423/0.4225, allocations: 143.8 kB / 0.8261 GB, free: 2.434 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000643/0.4231, allocations: 219.4 kB / 0.8263 GB, free: 2.242 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003288/0.4264, allocations: 3.791 MB / 0.83 GB, free: 14.28 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001701/0.4266, allocations: 228 kB / 0.8302 GB, free: 14.03 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000252/0.4269, allocations: 98.72 kB / 0.8303 GB, free: 13.94 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.427, allocations: 140.4 kB / 0.8304 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of SimCode: time 1.252e-06/0.427, allocations: 0 / 0.8304 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03022/0.4572, allocations: 13.19 MB / 0.8433 GB, free: 1.055 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.969/7.426, allocations: 7.031 kB / 0.8433 GB, free: 1.051 MB / 0.6667 GB " [Timeout remaining time 652] (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: 9.985087750479579] Failed to read output from testmodel.py, exit status != 0: 7.512377593666315 7.5228902810000005 7.111336252 Calling exit ...