Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.001565/0.001565, allocations: 112.1 kB / 17.6 MB, free: 4.668 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.001608/0.001608, allocations: 189.9 kB / 20.78 MB, free: 1.5 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.436/1.436, allocations: 225.6 MB / 249.4 MB, free: 3.281 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.886/2.886, allocations: 476.7 MB / 0.7629 GB, free: 15.27 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.EnthalpyFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 68.08 kB / 1.107 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.132/1.134, allocations: 168.7 MB / 1.272 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2368/1.371, allocations: 168.3 MB / 1.436 GB, free: 9.949 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.009566/1.381, allocations: 6.626 MB / 1.442 GB, free: 4.609 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006554/1.381, allocations: 12.19 kB / 1.442 GB, free: 4.605 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0008028/1.382, allocations: 178 kB / 1.443 GB, free: 4.449 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003529/1.386, allocations: 0.878 MB / 1.443 GB, free: 3.789 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001433/1.387, allocations: 337.4 kB / 1.444 GB, free: 3.543 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001457/1.388, allocations: 0.7207 MB / 1.444 GB, free: 3.125 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005664/1.389, allocations: 223.9 kB / 1.445 GB, free: 2.977 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001829/1.391, allocations: 0.5682 MB / 1.445 GB, free: 2.621 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006415/1.392, allocations: 285 kB / 1.445 GB, free: 2.457 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 5.782e-05/1.392, allocations: 22.31 kB / 1.445 GB, free: 2.457 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/1.393, allocations: 368 kB / 1.446 GB, free: 2.246 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001954/1.393, allocations: 111.6 kB / 1.446 GB, free: 2.137 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002475/1.393, allocations: 159.2 kB / 1.446 GB, free: 1.98 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001019/1.394, allocations: 470.2 kB / 1.447 GB, free: 1.52 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/1.394, allocations: 0 / 1.447 GB, free: 1.52 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.573e-06/1.394, allocations: 0 / 1.447 GB, free: 1.52 MB / 1.123 GB Notification: Performance of Transformations before backend: time 8.496e-06/1.394, allocations: 0 / 1.447 GB, free: 1.52 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001322/1.395, allocations: 0.6346 MB / 1.447 GB, free: 0.8359 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/1.395, allocations: 8.031 kB / 1.447 GB, free: 0.8281 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001005/1.396, allocations: 62.55 kB / 1.447 GB, free: 0.7578 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005269/1.396, allocations: 63.7 kB / 1.447 GB, free: 0.6953 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009208/1.397, allocations: 337.2 kB / 1.448 GB, free: 332 kB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.281e-05/1.397, allocations: 20.56 kB / 1.448 GB, free: 312 kB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.311e-05/1.397, allocations: 24 kB / 1.448 GB, free: 288 kB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009207/1.398, allocations: 323.7 kB / 1.448 GB, free: 15.94 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/1.398, allocations: 0 / 1.448 GB, free: 15.94 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.657e-05/1.398, allocations: 8 kB / 1.448 GB, free: 15.93 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/1.398, allocations: 8 kB / 1.448 GB, free: 15.92 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007484/1.399, allocations: 205.4 kB / 1.448 GB, free: 15.72 MB / 1.139 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.002898/1.402, allocations: 1.531 MB / 1.45 GB, free: 14.06 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004685/1.402, allocations: 122.5 kB / 1.45 GB, free: 13.93 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002668/1.403, allocations: 76.81 kB / 1.45 GB, free: 13.85 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008191/1.403, allocations: 307.2 kB / 1.45 GB, free: 13.5 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/1.403, allocations: 30.56 kB / 1.45 GB, free: 13.46 MB / 1.139 GB Notification: Performance of pre-optimization done (n=13): time 1.153e-06/1.403, allocations: 0 / 1.45 GB, free: 13.46 MB / 1.139 GB Notification: Performance of matching and sorting (n=13): time 0.0008719/1.404, allocations: 281.6 kB / 1.45 GB, free: 13.18 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/1.404, allocations: 55.34 kB / 1.45 GB, free: 13.11 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004097/1.405, allocations: 308.5 kB / 1.451 GB, free: 12.8 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/1.405, allocations: 29.7 kB / 1.451 GB, free: 12.77 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/1.405, allocations: 184.3 kB / 1.451 GB, free: 12.58 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.612e-05/1.405, allocations: 51.52 kB / 1.451 GB, free: 12.53 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.381e-05/1.405, allocations: 37.72 kB / 1.451 GB, free: 12.49 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002591/1.405, allocations: 342.8 kB / 1.451 GB, free: 12.14 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/1.406, allocations: 55.95 kB / 1.451 GB, free: 12.09 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/1.406, allocations: 116.9 kB / 1.452 GB, free: 11.96 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004466/1.406, allocations: 177 kB / 1.452 GB, free: 11.77 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.406, allocations: 0 / 1.452 GB, free: 11.77 MB / 1.139 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004475/1.407, allocations: 221.3 kB / 1.452 GB, free: 11.54 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/1.407, allocations: 8 kB / 1.452 GB, free: 11.54 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/1.407, allocations: 3.984 kB / 1.452 GB, free: 11.53 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/1.407, allocations: 4 kB / 1.452 GB, free: 11.53 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/1.407, allocations: 35.92 kB / 1.452 GB, free: 11.49 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/1.407, allocations: 4 kB / 1.452 GB, free: 11.49 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/1.407, allocations: 23.81 kB / 1.452 GB, free: 11.46 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/1.407, allocations: 8.156 kB / 1.452 GB, free: 11.46 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001957/1.407, allocations: 161.6 kB / 1.452 GB, free: 11.29 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.696e-05/1.407, allocations: 27.81 kB / 1.452 GB, free: 11.26 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005169/1.408, allocations: 208.3 kB / 1.452 GB, free: 11.05 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/1.408, allocations: 4 kB / 1.452 GB, free: 11.04 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/1.408, allocations: 0 / 1.452 GB, free: 11.04 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/1.408, allocations: 0 / 1.452 GB, free: 11.04 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/1.409, allocations: 0.6796 MB / 1.453 GB, free: 10.29 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/1.409, allocations: 12.16 kB / 1.453 GB, free: 10.27 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/1.409, allocations: 23.98 kB / 1.453 GB, free: 10.25 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/1.409, allocations: 4 kB / 1.453 GB, free: 10.25 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/1.409, allocations: 7.922 kB / 1.453 GB, free: 10.24 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/1.409, allocations: 4 kB / 1.453 GB, free: 10.23 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/1.409, allocations: 7.938 kB / 1.453 GB, free: 10.23 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004823/1.41, allocations: 329.2 kB / 1.453 GB, free: 9.867 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/1.41, allocations: 128.8 kB / 1.454 GB, free: 9.723 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/1.41, allocations: 7.938 kB / 1.454 GB, free: 9.715 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/1.41, allocations: 12.05 kB / 1.454 GB, free: 9.703 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.529e-05/1.41, allocations: 16 kB / 1.454 GB, free: 9.688 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/1.41, allocations: 4 kB / 1.454 GB, free: 9.684 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002772/1.41, allocations: 223 kB / 1.454 GB, free: 9.469 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/1.41, allocations: 0 / 1.454 GB, free: 9.469 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003785/1.411, allocations: 71.89 kB / 1.454 GB, free: 9.398 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.00121/1.412, allocations: 0.9342 MB / 1.455 GB, free: 8.422 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004344/1.412, allocations: 147.8 kB / 1.455 GB, free: 8.277 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/1.412, allocations: 3.938 kB / 1.455 GB, free: 8.273 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001888/1.413, allocations: 84.58 kB / 1.455 GB, free: 8.191 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008302/1.413, allocations: 156.7 kB / 1.455 GB, free: 8.043 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003986/1.417, allocations: 2.809 MB / 1.458 GB, free: 5.082 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000537/1.418, allocations: 0.7832 MB / 1.459 GB, free: 4.27 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002125/1.418, allocations: 58.92 kB / 1.459 GB, free: 4.207 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/1.418, allocations: 95.41 kB / 1.459 GB, free: 4.117 MB / 1.139 GB Notification: Performance of SimCode: time 1.132e-06/1.418, allocations: 0 / 1.459 GB, free: 4.117 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03496/1.453, allocations: 8.184 MB / 1.467 GB, free: 12.12 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.566/10.02, allocations: 7.938 kB / 1.467 GB, free: 12.11 MB / 1.154 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_11_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.097250338003505] Failed to read output from testmodel.py, exit status != 0: 10.09612293902319 10.115115538 8.717867687 Calling exit ...