Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.001336/0.001336, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 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.001504/0.001504, allocations: 216.3 kB / 22.26 MB, free: 5.117 MB / 14.72 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 1.398/1.398, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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.002503/0.002503, allocations: 285.7 kB / 312.7 MB, free: 2.816 MB / 238.1 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 1.241/1.241, allocations: 180.6 MB / 0.5369 GB, free: 13.02 MB / 382.1 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.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004615/0.004615, allocations: 99.56 kB / 0.7396 GB, free: 28.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2202, allocations: 95.39 MB / 0.8327 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002658/0.2229, allocations: 1.286 MB / 0.834 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003113/0.2232, allocations: 123.5 kB / 0.8341 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.93e-05/0.2232, allocations: 4 kB / 0.8341 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.588e-05/0.2232, allocations: 0 / 0.8341 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.265e-05/0.2233, allocations: 3.938 kB / 0.8341 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.2235, allocations: 43.88 kB / 0.8342 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.442e-05/0.2236, allocations: 7.938 kB / 0.8342 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.002e-05/0.2236, allocations: 4 kB / 0.8342 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.35e-05/0.2236, allocations: 7.938 kB / 0.8342 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.866e-05/0.2237, allocations: 7.984 kB / 0.8342 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.2237, allocations: 11.94 kB / 0.8342 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.2238, allocations: 47.94 kB / 0.8342 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.136e-05/0.2239, allocations: 3.984 kB / 0.8342 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.329e-05/0.2239, allocations: 7.938 kB / 0.8343 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.224, allocations: 36.17 kB / 0.8343 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.224, allocations: 0 / 0.8343 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.843e-06/0.224, allocations: 0 / 0.8343 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.224, allocations: 3.938 kB / 0.8343 GB, free: 7.047 MB / 0.5762 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.0004098/0.2244, allocations: 262.2 kB / 0.8345 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.2245, allocations: 13.34 kB / 0.8346 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.773e-05/0.2245, allocations: 30.75 kB / 0.8346 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.598e-05/0.2245, allocations: 4.938 kB / 0.8346 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.2247, allocations: 106.5 kB / 0.8347 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.2247, allocations: 384 / 0.8347 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.2247, allocations: 8.125 kB / 0.8347 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.361e-05/0.2248, allocations: 33.69 kB / 0.8347 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.2248, allocations: 4 kB / 0.8347 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.2248, allocations: 0 / 0.8347 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2248, allocations: 4 kB / 0.8347 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.845e-05/0.2248, allocations: 7.938 kB / 0.8347 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001863/0.225, allocations: 124.8 kB / 0.8349 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.81e-05/0.2251, allocations: 18.58 kB / 0.8349 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.372e-05/0.2251, allocations: 12.8 kB / 0.8349 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004853/0.2256, allocations: 83.97 kB / 0.835 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.2256, allocations: 34.56 kB / 0.835 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.2256, allocations: 0 / 0.835 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001687/0.2258, allocations: 45.64 kB / 0.835 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.2258, allocations: 51.41 kB / 0.8351 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.2259, allocations: 105.8 kB / 0.8352 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.226, allocations: 25.7 kB / 0.8352 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.226, allocations: 80.14 kB / 0.8353 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.226, allocations: 4.078 kB / 0.8353 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.2261, allocations: 17.72 kB / 0.8353 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.2262, allocations: 314.8 kB / 0.8356 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.574e-05/0.2262, allocations: 4 kB / 0.8356 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.14e-05/0.2262, allocations: 3.984 kB / 0.8356 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.542e-05/0.2263, allocations: 20.8 kB / 0.8356 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2263, allocations: 0 / 0.8356 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.606e-05/0.2263, allocations: 37.64 kB / 0.8357 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.2264, allocations: 8.094 kB / 0.8357 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2264, allocations: 0 / 0.8357 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.2264, allocations: 3.938 kB / 0.8357 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.172e-05/0.2264, allocations: 4 kB / 0.8357 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.2265, allocations: 7.969 kB / 0.8357 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.841e-05/0.2265, allocations: 0 / 0.8357 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.2265, allocations: 4 kB / 0.8357 GB, free: 5.398 MB / 0.5762 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 9.209e-05/0.2266, allocations: 110.5 kB / 0.8358 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.036e-05/0.2266, allocations: 3.938 kB / 0.8358 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.2267, allocations: 52.94 kB / 0.8359 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.2267, allocations: 8 kB / 0.8359 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2267, allocations: 3.938 kB / 0.8359 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2267, allocations: 0 / 0.8359 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.2268, allocations: 128.6 kB / 0.836 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2268, allocations: 192 / 0.836 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.212e-05/0.2269, allocations: 4 kB / 0.836 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2269, allocations: 0 / 0.836 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.2269, allocations: 3.984 kB / 0.836 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2269, allocations: 0 / 0.836 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2269, allocations: 4.031 kB / 0.836 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.664e-05/0.227, allocations: 77 kB / 0.8361 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.585e-06/0.227, allocations: 0 / 0.8361 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.227, allocations: 0 / 0.8361 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.577e-05/0.227, allocations: 0 / 0.8361 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.669e-05/0.227, allocations: 0 / 0.8361 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.227, allocations: 4 kB / 0.8361 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.337e-05/0.2271, allocations: 79.31 kB / 0.8362 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2271, allocations: 0 / 0.8362 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002127/0.2273, allocations: 19.92 kB / 0.8362 GB, free: 4.828 MB / 0.5762 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.0005031/0.2278, allocations: 0.6124 MB / 0.8368 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.691e-05/0.2279, allocations: 11.97 kB / 0.8368 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2279, allocations: 0 / 0.8368 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.129e-05/0.2279, allocations: 7.984 kB / 0.8368 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.2282, allocations: 10.58 kB / 0.8368 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.2293, allocations: 1.091 MB / 0.8379 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.2297, allocations: 0.6805 MB / 0.8385 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.982e-05/0.2297, allocations: 8 kB / 0.8386 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.866e-05/0.2297, allocations: 7.438 kB / 0.8386 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.2297, allocations: 0 / 0.8386 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02914/0.2589, allocations: 1.546 MB / 0.8401 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.7, allocations: 11.91 kB / 0.8401 GB, free: 0.8477 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.03235639900231] Failed to read output from testmodel.py, exit status != 0: 10.801204619998316 10.815196049 10.588258477 Calling exit ...