Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.001993/0.001993, 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.00234/0.00234, allocations: 216.4 kB / 22.25 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.429/1.429, allocations: 230.6 MB / 256 MB, free: 7.996 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.002486/0.002486, allocations: 282.9 kB / 312.7 MB, free: 2.805 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.228/1.228, allocations: 180.6 MB / 0.5369 GB, free: 12.91 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.PowerLawFixedM,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",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.004278/0.004278, allocations: 96.58 kB / 0.7396 GB, free: 28.59 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2263, allocations: 95.39 MB / 0.8327 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002485/0.2288, allocations: 1.322 MB / 0.834 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006342/0.2294, allocations: 302.9 kB / 0.8343 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.63e-05/0.2294, allocations: 7.938 kB / 0.8343 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.058e-05/0.2295, allocations: 0 / 0.8343 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.2296, allocations: 11.86 kB / 0.8343 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.2299, allocations: 79.77 kB / 0.8344 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.67e-05/0.23, allocations: 35.86 kB / 0.8344 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.165e-05/0.23, allocations: 7.984 kB / 0.8345 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.2302, allocations: 31.86 kB / 0.8345 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.652e-05/0.2302, allocations: 11.92 kB / 0.8345 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.2303, allocations: 4 kB / 0.8345 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/0.2304, allocations: 83.91 kB / 0.8346 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.2304, allocations: 7.938 kB / 0.8346 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.4e-05/0.2305, allocations: 15.92 kB / 0.8346 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.2307, allocations: 76 kB / 0.8347 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.2307, allocations: 0 / 0.8347 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2307, allocations: 0 / 0.8347 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.2307, allocations: 0 / 0.8347 GB, free: 6.609 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004709/0.2312, allocations: 274.1 kB / 0.8349 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.2312, allocations: 9.344 kB / 0.8349 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.825e-05/0.2313, allocations: 38.73 kB / 0.835 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.2313, allocations: 8.891 kB / 0.835 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.2314, allocations: 110.5 kB / 0.8351 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.2314, allocations: 384 / 0.8351 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.2314, allocations: 4.125 kB / 0.8351 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.2316, allocations: 37.69 kB / 0.8351 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.2316, allocations: 3.938 kB / 0.8351 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.2316, allocations: 4 kB / 0.8351 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.2316, allocations: 0 / 0.8351 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.393e-05/0.2316, allocations: 8 kB / 0.8352 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001947/0.2318, allocations: 132.7 kB / 0.8353 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.92e-05/0.2319, allocations: 38.59 kB / 0.8353 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.93e-05/0.232, allocations: 16.86 kB / 0.8353 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006877/0.2326, allocations: 135.9 kB / 0.8355 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.657e-05/0.2327, allocations: 30.56 kB / 0.8355 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.2327, allocations: 3.938 kB / 0.8355 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0001727/0.2329, allocations: 57.58 kB / 0.8355 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.2329, allocations: 55.41 kB / 0.8356 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.233, allocations: 109.8 kB / 0.8357 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.233, allocations: 25.7 kB / 0.8357 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.208e-05/0.2331, allocations: 84.14 kB / 0.8358 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.2331, allocations: 7.938 kB / 0.8358 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/0.2331, allocations: 21.67 kB / 0.8358 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.2333, allocations: 318.8 kB / 0.8361 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.439e-05/0.2333, allocations: 0 / 0.8361 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.406e-05/0.2333, allocations: 8 kB / 0.8362 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.909e-05/0.2334, allocations: 20.78 kB / 0.8362 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2334, allocations: 0 / 0.8362 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.317e-05/0.2335, allocations: 49.64 kB / 0.8362 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.2335, allocations: 7.984 kB / 0.8362 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.2335, allocations: 0 / 0.8362 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.2335, allocations: 4 kB / 0.8362 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.467e-05/0.2335, allocations: 4 kB / 0.8362 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.2336, allocations: 0 / 0.8362 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.575e-05/0.2336, allocations: 0 / 0.8362 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.2336, allocations: 0 / 0.8362 GB, free: 4.82 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 (3): * Single equations (assignments): 3 * 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.924e-05/0.2337, allocations: 114.5 kB / 0.8363 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.167e-05/0.2337, allocations: 7.938 kB / 0.8363 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001498/0.2338, allocations: 65.61 kB / 0.8364 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2338, allocations: 4 kB / 0.8364 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.2338, allocations: 0 / 0.8364 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.2338, allocations: 0 / 0.8364 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.234, allocations: 144.6 kB / 0.8366 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.234, allocations: 0 / 0.8366 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.706e-05/0.234, allocations: 4 kB / 0.8366 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.234, allocations: 8 kB / 0.8366 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.234, allocations: 0 / 0.8366 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.234, allocations: 0 / 0.8366 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.234, allocations: 0 / 0.8366 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.2341, allocations: 73.38 kB / 0.8366 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/0.2342, allocations: 19.97 kB / 0.8367 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.2342, allocations: 3.938 kB / 0.8367 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.758e-05/0.2342, allocations: 4 kB / 0.8367 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.434e-05/0.2342, allocations: 4 kB / 0.8367 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.2343, allocations: 0 / 0.8367 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.018e-05/0.2343, allocations: 95.56 kB / 0.8368 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2343, allocations: 0 / 0.8368 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002118/0.2345, allocations: 27.88 kB / 0.8368 GB, free: 4.172 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 (3): * Single equations (assignments): 3 * 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.0005202/0.235, allocations: 0.6435 MB / 0.8374 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.194e-05/0.2351, allocations: 8 kB / 0.8374 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.2351, allocations: 0 / 0.8374 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.522e-05/0.2351, allocations: 8 kB / 0.8374 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.2354, allocations: 11.92 kB / 0.8374 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004407/0.2358, allocations: 169.4 kB / 0.8376 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.2361, allocations: 0.6768 MB / 0.8383 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.592e-05/0.2362, allocations: 8 kB / 0.8383 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.411e-05/0.2362, allocations: 15.44 kB / 0.8383 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.2362, allocations: 0 / 0.8383 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02686/0.2631, allocations: 1.745 MB / 0.84 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.81, allocations: 7.25 kB / 0.84 GB, free: 0.9336 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_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_PowerLawFixedM.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.202136912997958] Failed to read output from testmodel.py, exit status != 0: 10.90885815799993 10.931393376 10.696456874 Calling exit ...