Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.001815/0.001815, allocations: 111.3 kB / 17.6 MB, free: 4.664 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.002115/0.002115, allocations: 186.8 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.484/1.484, allocations: 225.6 MB / 249.4 MB, free: 3.188 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.713/2.713, 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.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 63.91 kB / 1.107 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9447/0.9468, allocations: 168.7 MB / 1.272 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002501/0.9493, allocations: 1.279 MB / 1.273 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003164/0.9496, allocations: 121.6 kB / 1.273 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.068e-05/0.9496, allocations: 0.8125 kB / 1.273 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.846e-05/0.9497, allocations: 0 / 1.273 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.283e-05/0.9497, allocations: 5.219 kB / 1.273 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.95, allocations: 39.38 kB / 1.273 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.538e-05/0.95, allocations: 19.33 kB / 1.273 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.733e-05/0.9501, allocations: 3.094 kB / 1.273 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.56e-05/0.9501, allocations: 6.719 kB / 1.273 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.97e-05/0.9502, allocations: 8.406 kB / 1.273 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.9502, allocations: 0.7812 kB / 1.273 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.9503, allocations: 51.7 kB / 1.273 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.193e-05/0.9504, allocations: 1.812 kB / 1.273 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.485e-05/0.9504, allocations: 10.83 kB / 1.273 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.9505, allocations: 39.91 kB / 1.273 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.9505, allocations: 4.656 kB / 1.273 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9505, allocations: 0.8125 kB / 1.273 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.9505, allocations: 0 / 1.273 GB, free: 6.656 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000371/0.9509, allocations: 328.1 kB / 1.273 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.951, allocations: 13.42 kB / 1.273 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.326e-05/0.951, allocations: 31.69 kB / 1.273 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.381e-05/0.951, allocations: 2.844 kB / 1.273 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.9511, allocations: 174.4 kB / 1.274 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.9511, allocations: 5.219 kB / 1.274 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-06/0.9511, allocations: 4.938 kB / 1.274 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.101e-05/0.9512, allocations: 30.48 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.9512, allocations: 0.8125 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.9512, allocations: 0.75 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.9513, allocations: 0.9375 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.793e-05/0.9513, allocations: 4 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001452/0.9514, allocations: 155.9 kB / 1.274 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.906e-05/0.9515, allocations: 28.92 kB / 1.274 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/0.9515, allocations: 14.36 kB / 1.274 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006306/0.9521, allocations: 0.6051 MB / 1.274 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.9522, allocations: 31.34 kB / 1.274 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.9522, allocations: 0 / 1.274 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001501/0.9523, allocations: 43.23 kB / 1.274 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.9523, allocations: 53.42 kB / 1.275 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.181e-05/0.9524, allocations: 100.3 kB / 1.275 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.583e-06/0.9524, allocations: 29.64 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.827e-05/0.9524, allocations: 81.55 kB / 1.275 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.9525, allocations: 8.609 kB / 1.275 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.9525, allocations: 12.98 kB / 1.275 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.947e-05/0.9525, allocations: 320.8 kB / 1.275 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.681e-05/0.9526, allocations: 2.656 kB / 1.275 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.163e-05/0.9526, allocations: 3.703 kB / 1.275 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.037e-05/0.9526, allocations: 9.984 kB / 1.275 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.9526, allocations: 0 / 1.275 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.147e-05/0.9527, allocations: 47.53 kB / 1.275 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.9527, allocations: 6.578 kB / 1.275 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.9527, allocations: 0 / 1.275 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.9527, allocations: 5.25 kB / 1.275 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.126e-05/0.9527, allocations: 11.69 kB / 1.275 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.9528, allocations: 0 / 1.275 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.798e-05/0.9528, allocations: 6.703 kB / 1.275 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.9528, allocations: 1.031 kB / 1.275 GB, free: 4.344 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 (2): * Single equations (assignments): 2 * 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 4.27e-05/0.9528, allocations: 106.8 kB / 1.275 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.015e-05/0.9528, allocations: 12.92 kB / 1.275 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.551e-05/0.9529, allocations: 45.27 kB / 1.275 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.9529, allocations: 0.7812 kB / 1.275 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.9529, allocations: 4.031 kB / 1.275 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.9529, allocations: 0.7188 kB / 1.275 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.117e-05/0.953, allocations: 151.8 kB / 1.275 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.953, allocations: 0 / 1.275 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.318e-05/0.953, allocations: 6.75 kB / 1.275 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.953, allocations: 0 / 1.275 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.953, allocations: 4.75 kB / 1.275 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.953, allocations: 0.75 kB / 1.275 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.953, allocations: 3.984 kB / 1.275 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.239e-05/0.9531, allocations: 69.05 kB / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.142e-05/0.9531, allocations: 77.67 kB / 1.276 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.9531, allocations: 3 kB / 1.276 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.543e-05/0.9532, allocations: 4.656 kB / 1.276 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.294e-05/0.9532, allocations: 0.7812 kB / 1.276 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.9532, allocations: 0.9062 kB / 1.276 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.995e-05/0.9532, allocations: 80.8 kB / 1.276 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.9532, allocations: 0 / 1.276 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000209/0.9534, allocations: 19.59 kB / 1.276 GB, free: 3.723 MB / 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 (2): * Single equations (assignments): 2 * 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.0002997/0.9537, allocations: 0.6187 MB / 1.276 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.651e-05/0.9538, allocations: 6.688 kB / 1.276 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.9538, allocations: 0 / 1.276 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.208e-05/0.9538, allocations: 9.594 kB / 1.276 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.954, allocations: 3.859 kB / 1.276 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009298/0.955, allocations: 1.114 MB / 1.277 GB, free: 17.99 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.9553, allocations: 0.6789 MB / 1.278 GB, free: 17.29 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.337e-05/0.9553, allocations: 2.094 kB / 1.278 GB, free: 17.29 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.461e-05/0.9553, allocations: 21.25 kB / 1.278 GB, free: 17.27 MB / 1.014 GB Notification: Performance of SimCode: time 2.6e-07/0.9553, allocations: 4 kB / 1.278 GB, free: 17.27 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/0.979, allocations: 1.402 MB / 1.279 GB, free: 16.92 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.553/8.532, allocations: 7.406 kB / 1.279 GB, free: 16.92 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 14.42703437601449] Failed to read output from testmodel.py, exit status != 0: 8.596222730993759 8.610290696 7.656991965 Calling exit ...