Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.001702/0.001702, allocations: 110.7 kB / 17.6 MB, free: 4.688 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.001917/0.001917, allocations: 189.9 kB / 20.78 MB, free: 1.52 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.511/1.511, allocations: 225.6 MB / 249.4 MB, free: 3.172 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.731/2.731, allocations: 476.7 MB / 0.7629 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 177] 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.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 71.89 kB / 1.107 GB, free: 5.082 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002/1.005, allocations: 168.7 MB / 1.272 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002992/1.008, allocations: 1.94 MB / 1.273 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003648/1.011, allocations: 3.502 MB / 1.277 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/1.011, allocations: 5.531 kB / 1.277 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002942/1.012, allocations: 57.33 kB / 1.277 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000511/1.012, allocations: 132 kB / 1.277 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 9.231e-05/1.012, allocations: 19.69 kB / 1.277 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002401/1.012, allocations: 185.6 kB / 1.277 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.81e-05/1.013, allocations: 16.11 kB / 1.277 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/1.013, allocations: 93.38 kB / 1.277 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/1.013, allocations: 85.81 kB / 1.277 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.708e-05/1.013, allocations: 8.719 kB / 1.277 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.119e-05/1.013, allocations: 27.88 kB / 1.277 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.453e-05/1.013, allocations: 45.95 kB / 1.277 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.398e-05/1.013, allocations: 77.3 kB / 1.278 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002428/1.013, allocations: 166.8 kB / 1.278 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/1.013, allocations: 0 / 1.278 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.533e-06/1.013, allocations: 0 / 1.278 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.863e-06/1.013, allocations: 4.75 kB / 1.278 GB, free: 3.383 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007611/1.014, allocations: 0.5077 MB / 1.278 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/1.014, allocations: 13.19 kB / 1.278 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.286e-05/1.014, allocations: 41.67 kB / 1.278 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/1.014, allocations: 21.3 kB / 1.278 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/1.015, allocations: 250.7 kB / 1.279 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/1.015, allocations: 2.5 kB / 1.279 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/1.015, allocations: 7.641 kB / 1.279 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003361/1.015, allocations: 149.3 kB / 1.279 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/1.015, allocations: 0 / 1.279 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/1.015, allocations: 6.359 kB / 1.279 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-05/1.015, allocations: 8.859 kB / 1.279 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004305/1.015, allocations: 142.8 kB / 1.279 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000603/1.016, allocations: 449.2 kB / 1.279 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004156/1.016, allocations: 172.9 kB / 1.279 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002495/1.017, allocations: 95.8 kB / 1.28 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/1.017, allocations: 4.172 kB / 1.28 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/1.017, allocations: 39.52 kB / 1.28 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/1.017, allocations: 0.8438 kB / 1.28 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0008552/1.018, allocations: 298.2 kB / 1.28 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/1.018, allocations: 53.31 kB / 1.28 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/1.018, allocations: 217.5 kB / 1.28 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/1.018, allocations: 30.7 kB / 1.28 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.761e-05/1.018, allocations: 117 kB / 1.28 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.83e-05/1.018, allocations: 48.83 kB / 1.28 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.578e-05/1.018, allocations: 27.73 kB / 1.28 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.162e-05/1.018, allocations: 333.5 kB / 1.281 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/1.018, allocations: 80.25 kB / 1.281 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/1.018, allocations: 78.83 kB / 1.281 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004485/1.019, allocations: 163.9 kB / 1.281 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/1.019, allocations: 4.812 kB / 1.281 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005306/1.019, allocations: 213.5 kB / 1.281 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/1.019, allocations: 5.812 kB / 1.281 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/1.019, allocations: 0 / 1.281 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/1.019, allocations: 8.906 kB / 1.281 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/1.02, allocations: 33.78 kB / 1.281 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/1.02, allocations: 1.656 kB / 1.281 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/1.02, allocations: 20.36 kB / 1.281 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/1.02, allocations: 9.359 kB / 1.281 GB, free: 1.004 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 8.344e-05/1.02, allocations: 123.9 kB / 1.281 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.781e-05/1.02, allocations: 21.81 kB / 1.281 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.73e-05/1.02, allocations: 25.66 kB / 1.281 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/1.02, allocations: 1.062 kB / 1.281 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.02, allocations: 1.797 kB / 1.281 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/1.02, allocations: 0.6562 kB / 1.281 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/1.02, allocations: 273.7 kB / 1.282 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/1.02, allocations: 0.5625 kB / 1.282 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/1.021, allocations: 37.28 kB / 1.282 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/1.021, allocations: 0.7812 kB / 1.282 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/1.021, allocations: 7.562 kB / 1.282 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/1.021, allocations: 4.703 kB / 1.282 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/1.021, allocations: 0.75 kB / 1.282 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005643/1.021, allocations: 320.1 kB / 1.282 GB, free: 424 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.319e-05/1.021, allocations: 115 kB / 1.282 GB, free: 308 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/1.021, allocations: 0 / 1.282 GB, free: 308 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/1.021, allocations: 13.33 kB / 1.282 GB, free: 308 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-05/1.022, allocations: 16.77 kB / 1.282 GB, free: 300 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/1.022, allocations: 3.578 kB / 1.282 GB, free: 300 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001245/1.022, allocations: 163.2 kB / 1.282 GB, free: 196 kB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.022, allocations: 1.281 kB / 1.282 GB, free: 196 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002823/1.022, allocations: 36.25 kB / 1.282 GB, free: 192 kB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0009319/1.023, allocations: 0.8496 MB / 1.283 GB, free: 15.48 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005263/1.023, allocations: 182 kB / 1.283 GB, free: 15.43 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.023, allocations: 0 / 1.283 GB, free: 15.43 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002574/1.024, allocations: 89.33 kB / 1.283 GB, free: 15.41 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/1.024, allocations: 40.88 kB / 1.283 GB, free: 15.38 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003326/1.027, allocations: 2.323 MB / 1.286 GB, free: 13.82 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/1.028, allocations: 0.7314 MB / 1.286 GB, free: 13.11 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001587/1.028, allocations: 52.12 kB / 1.286 GB, free: 13.11 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/1.028, allocations: 49.77 kB / 1.287 GB, free: 13.07 MB / 1.014 GB Notification: Performance of SimCode: time 4.11e-07/1.028, allocations: 0 / 1.287 GB, free: 13.07 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02609/1.054, allocations: 3.904 MB / 1.29 GB, free: 12.53 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.986/9.04, allocations: 14.05 kB / 1.29 GB, free: 12.52 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv --start-time 0 --stop-time 100 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.073613266984466] Failed to read output from testmodel.py, exit status != 0: 9.11327180598164 9.143024491 8.12429207 Calling exit ...