Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.001539/0.001539, allocations: 107.4 kB / 16.4 MB, free: 6.5 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.001705/0.001705, allocations: 192.5 kB / 19.35 MB, free: 3.734 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.405/1.405, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.844/2.844, allocations: 489 MB / 0.7678 GB, free: 36 kB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 63.89 kB / 1.101 GB, free: 6.164 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8234/0.8256, allocations: 163.8 MB / 1.261 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2078/1.033, allocations: 179.4 MB / 1.436 GB, free: 3.07 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.00987/1.043, allocations: 7.831 MB / 1.444 GB, free: 11.21 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006018/1.044, allocations: 19.88 kB / 1.444 GB, free: 11.2 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007256/1.045, allocations: 254.2 kB / 1.444 GB, free: 10.95 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00306/1.048, allocations: 1.206 MB / 1.445 GB, free: 9.734 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001854/1.05, allocations: 0.7275 MB / 1.446 GB, free: 9.008 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00144/1.051, allocations: 1.06 MB / 1.447 GB, free: 7.945 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006574/1.052, allocations: 421.4 kB / 1.448 GB, free: 7.523 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00283/1.055, allocations: 0.9655 MB / 1.448 GB, free: 6.566 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009955/1.056, allocations: 430.5 kB / 1.449 GB, free: 6.145 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 9.624e-05/1.056, allocations: 36 kB / 1.449 GB, free: 6.109 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002013/1.058, allocations: 0.9432 MB / 1.45 GB, free: 5.164 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002282/1.058, allocations: 159.5 kB / 1.45 GB, free: 5.008 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0003519/1.058, allocations: 246.8 kB / 1.45 GB, free: 4.766 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001866/1.06, allocations: 0.9382 MB / 1.451 GB, free: 3.824 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/1.06, allocations: 0 / 1.451 GB, free: 3.824 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.734e-06/1.06, allocations: 0 / 1.451 GB, free: 3.824 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.005e-05/1.06, allocations: 4 kB / 1.451 GB, free: 3.82 MB / 1.154 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.001252/1.062, allocations: 0.8211 MB / 1.452 GB, free: 2.945 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/1.062, allocations: 12.03 kB / 1.452 GB, free: 2.934 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.857e-05/1.062, allocations: 82.45 kB / 1.452 GB, free: 2.844 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009437/1.063, allocations: 147.6 kB / 1.452 GB, free: 2.699 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006088/1.063, allocations: 411.6 kB / 1.453 GB, free: 2.258 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/1.063, allocations: 29 kB / 1.453 GB, free: 2.23 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.437e-05/1.063, allocations: 36 kB / 1.453 GB, free: 2.195 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007628/1.064, allocations: 450.4 kB / 1.453 GB, free: 1.73 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/1.064, allocations: 3.938 kB / 1.453 GB, free: 1.727 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/1.064, allocations: 19.94 kB / 1.453 GB, free: 1.707 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/1.064, allocations: 8 kB / 1.453 GB, free: 1.699 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006203/1.065, allocations: 319.8 kB / 1.453 GB, free: 1.387 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002229/1.067, allocations: 2.016 MB / 1.455 GB, free: 15.2 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00042/1.068, allocations: 238.5 kB / 1.456 GB, free: 14.96 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002666/1.068, allocations: 140.8 kB / 1.456 GB, free: 14.82 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000599/1.068, allocations: 315.2 kB / 1.456 GB, free: 14.45 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/1.068, allocations: 34.56 kB / 1.456 GB, free: 14.41 MB / 1.17 GB Notification: Performance of pre-optimization done (n=24): time 2.004e-06/1.068, allocations: 0 / 1.456 GB, free: 14.41 MB / 1.17 GB Notification: Performance of matching and sorting (n=24): time 0.001086/1.07, allocations: 454.9 kB / 1.456 GB, free: 13.96 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/1.07, allocations: 59.41 kB / 1.457 GB, free: 13.89 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005002/1.07, allocations: 393.9 kB / 1.457 GB, free: 13.5 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.056e-05/1.07, allocations: 33.7 kB / 1.457 GB, free: 13.46 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/1.07, allocations: 236.5 kB / 1.457 GB, free: 13.23 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/1.071, allocations: 83.27 kB / 1.457 GB, free: 13.14 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/1.071, allocations: 61.64 kB / 1.457 GB, free: 13.08 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000225/1.071, allocations: 350.7 kB / 1.458 GB, free: 12.73 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/1.071, allocations: 119.9 kB / 1.458 GB, free: 12.61 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003207/1.072, allocations: 178.7 kB / 1.458 GB, free: 12.41 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005875/1.072, allocations: 312.9 kB / 1.458 GB, free: 12.08 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/1.072, allocations: 0 / 1.458 GB, free: 12.08 MB / 1.17 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007083/1.073, allocations: 363.9 kB / 1.459 GB, free: 11.72 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/1.073, allocations: 8 kB / 1.459 GB, free: 11.71 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/1.073, allocations: 0 / 1.459 GB, free: 11.71 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/1.073, allocations: 4 kB / 1.459 GB, free: 11.71 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002886/1.073, allocations: 59.84 kB / 1.459 GB, free: 11.65 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/1.073, allocations: 4 kB / 1.459 GB, free: 11.65 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002664/1.074, allocations: 43.94 kB / 1.459 GB, free: 11.61 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/1.074, allocations: 19.94 kB / 1.459 GB, free: 11.59 MB / 1.17 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.0002223/1.074, allocations: 171.6 kB / 1.459 GB, free: 11.41 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.369e-05/1.074, allocations: 39.72 kB / 1.459 GB, free: 11.37 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007656/1.075, allocations: 369 kB / 1.459 GB, free: 11 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/1.075, allocations: 4 kB / 1.459 GB, free: 11 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/1.075, allocations: 0 / 1.459 GB, free: 11 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/1.075, allocations: 4 kB / 1.459 GB, free: 11 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/1.076, allocations: 0.9332 MB / 1.46 GB, free: 9.984 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/1.076, allocations: 4 kB / 1.46 GB, free: 9.98 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/1.076, allocations: 51.91 kB / 1.46 GB, free: 9.93 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.83e-06/1.076, allocations: 3.938 kB / 1.46 GB, free: 9.926 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/1.076, allocations: 4 kB / 1.46 GB, free: 9.922 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/1.076, allocations: 4 kB / 1.46 GB, free: 9.918 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/1.076, allocations: 7.938 kB / 1.46 GB, free: 9.91 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009817/1.077, allocations: 0.6319 MB / 1.461 GB, free: 9.242 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/1.078, allocations: 152.7 kB / 1.461 GB, free: 9.074 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.901e-05/1.078, allocations: 11.98 kB / 1.461 GB, free: 9.062 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/1.078, allocations: 4 kB / 1.461 GB, free: 9.059 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.911e-05/1.078, allocations: 23.91 kB / 1.461 GB, free: 9.035 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/1.078, allocations: 8 kB / 1.461 GB, free: 9.027 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0003138/1.078, allocations: 283.1 kB / 1.461 GB, free: 8.75 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.4e-07/1.078, allocations: 64 / 1.461 GB, free: 8.75 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004786/1.079, allocations: 111.8 kB / 1.461 GB, free: 8.641 MB / 1.17 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.00162/1.08, allocations: 1.251 MB / 1.463 GB, free: 7.352 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0006196/1.081, allocations: 291.6 kB / 1.463 GB, free: 7.066 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.081, allocations: 0 / 1.463 GB, free: 7.066 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.000285/1.081, allocations: 150.4 kB / 1.463 GB, free: 6.922 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/1.082, allocations: 214.2 kB / 1.463 GB, free: 6.715 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00512/1.088, allocations: 3.83 MB / 1.467 GB, free: 2.727 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/1.088, allocations: 0.8311 MB / 1.468 GB, free: 1.867 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0003504/1.088, allocations: 99.41 kB / 1.468 GB, free: 1.766 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/1.089, allocations: 139.4 kB / 1.468 GB, free: 1.633 MB / 1.17 GB Notification: Performance of SimCode: time 7.31e-07/1.089, allocations: 0 / 1.468 GB, free: 1.633 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03872/1.127, allocations: 11.7 MB / 1.479 GB, free: 6.176 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.7/9.827, allocations: 8.188 kB / 1.479 GB, free: 6.172 MB / 1.186 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 15.743476391071454] Failed to read output from testmodel.py, exit status != 0: 9.900733781047165 9.916565359 8.853426965 Calling exit ...