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.001007/0.001007, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0009892/0.0009892, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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.044/1.044, allocations: 177.2 MB / 202.8 MB, free: 5.539 MB / 186.7 MB " [Timeout remaining time 179] 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.001704/0.001704, allocations: 236.9 kB / 259.4 MB, free: 12.9 MB / 250.7 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 0.7396/0.7396, allocations: 138.4 MB / 454.3 MB, free: 30 MB / 410.7 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: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 0 / 0.6463 GB, free: 1.855 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.157e-05/3.399e-05, allocations: 9.172 kB / 0.6463 GB, free: 1.848 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002154/0.002188, allocations: 1.303 MB / 0.6476 GB, free: 0.5312 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0004494/0.002637, allocations: 274.9 kB / 0.6478 GB, free: 268 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.933e-05/0.002676, allocations: 0 / 0.6478 GB, free: 268 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.581e-05/0.002702, allocations: 0 / 0.6478 GB, free: 268 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.002834, allocations: 23.84 kB / 0.6479 GB, free: 244 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005684/0.003402, allocations: 75.66 kB / 0.6479 GB, free: 168 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 9.99e-05/0.003502, allocations: 35.86 kB / 0.648 GB, free: 132 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.336e-05/0.003555, allocations: 0 / 0.648 GB, free: 132 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.003715, allocations: 43.88 kB / 0.648 GB, free: 88 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.775e-05/0.003772, allocations: 4 kB / 0.648 GB, free: 84 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.003795, allocations: 4 kB / 0.648 GB, free: 80 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.003952, allocations: 79.91 kB / 0.6481 GB, free: 0 / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.3722/0.3762, allocations: 2.656 kB / 0.6481 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.5e-05/0.3762, allocations: 5.375 kB / 0.6481 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003908/0.3766, allocations: 87.86 kB / 0.6482 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.3766, allocations: 2.406 kB / 0.6482 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of FrontEnd: time 4.899e-06/0.3766, allocations: 0 / 0.6482 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.3766, allocations: 0 / 0.6482 GB, free: 55.77 MB / 0.5573 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.0007879/0.3774, allocations: 278.9 kB / 0.6485 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 8.797e-05/0.3775, allocations: 10.31 kB / 0.6485 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.337e-05/0.3776, allocations: 32.59 kB / 0.6485 GB, free: 55.47 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.221e-05/0.3776, allocations: 9.844 kB / 0.6485 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.3777, allocations: 114.3 kB / 0.6486 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.3778, allocations: 2.781 kB / 0.6486 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.3778, allocations: 1.781 kB / 0.6486 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.3779, allocations: 67.09 kB / 0.6487 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.378, allocations: 4.594 kB / 0.6487 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.378, allocations: 0 / 0.6487 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.378, allocations: 0.7812 kB / 0.6487 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.288e-05/0.378, allocations: 11.12 kB / 0.6487 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001735/0.3782, allocations: 128.5 kB / 0.6488 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.3783, allocations: 35.36 kB / 0.6489 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.44e-05/0.3784, allocations: 12.06 kB / 0.6489 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005589/0.3789, allocations: 138.6 kB / 0.649 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.445e-05/0.379, allocations: 36.05 kB / 0.649 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.974e-06/0.379, allocations: 0 / 0.649 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0003034/0.3793, allocations: 59.53 kB / 0.6491 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.3793, allocations: 53.78 kB / 0.6491 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.926e-05/0.3794, allocations: 108.3 kB / 0.6492 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.3794, allocations: 29.98 kB / 0.6493 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.652e-05/0.3794, allocations: 86.05 kB / 0.6494 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.36e-05/0.3795, allocations: 12.61 kB / 0.6494 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.471e-05/0.3795, allocations: 22.27 kB / 0.6494 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.579e-05/0.3796, allocations: 313.3 kB / 0.6497 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.941e-05/0.3796, allocations: 6.203 kB / 0.6497 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.464e-05/0.3796, allocations: 5.859 kB / 0.6497 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.646e-05/0.3797, allocations: 17.8 kB / 0.6497 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3797, allocations: 1.438 kB / 0.6497 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.192e-05/0.3797, allocations: 46.2 kB / 0.6498 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/0.3798, allocations: 11.97 kB / 0.6498 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.3798, allocations: 1.641 kB / 0.6498 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.2e-05/0.3798, allocations: 0.9375 kB / 0.6498 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.38, allocations: 5.719 kB / 0.6498 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.38, allocations: 1.625 kB / 0.6498 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.365e-05/0.38, allocations: 1.781 kB / 0.6498 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.38, allocations: 2.969 kB / 0.6498 GB, free: 54.36 MB / 0.5573 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 4.965e-05/0.3801, allocations: 114.7 kB / 0.6499 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.269e-05/0.3801, allocations: 2.547 kB / 0.6499 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001389/0.3802, allocations: 68.94 kB / 0.65 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.3802, allocations: 0.9062 kB / 0.65 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.3802, allocations: 2.312 kB / 0.65 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3802, allocations: 1.516 kB / 0.65 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.727e-05/0.3803, allocations: 127.6 kB / 0.6501 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.3803, allocations: 3.062 kB / 0.6501 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.606e-05/0.3803, allocations: 5.547 kB / 0.6501 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3803, allocations: 0 / 0.6501 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.3804, allocations: 6.688 kB / 0.6501 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3804, allocations: 4.594 kB / 0.6501 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3804, allocations: 0.7031 kB / 0.6501 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.351e-05/0.3804, allocations: 72.12 kB / 0.6502 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.099e-05/0.3805, allocations: 19.8 kB / 0.6502 GB, free: 53.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.3805, allocations: 4.625 kB / 0.6502 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.055e-05/0.3806, allocations: 2.312 kB / 0.6502 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.207e-05/0.3806, allocations: 2.281 kB / 0.6502 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.3806, allocations: 3.672 kB / 0.6502 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.358e-05/0.3806, allocations: 86.97 kB / 0.6503 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.3806, allocations: 0 / 0.6503 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001858/0.3808, allocations: 29.12 kB / 0.6503 GB, free: 53.89 MB / 0.5573 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.0004422/0.3813, allocations: 0.6397 MB / 0.6509 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001294/0.3814, allocations: 13.92 kB / 0.651 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.3814, allocations: 1.25 kB / 0.651 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.72e-05/0.3814, allocations: 16.27 kB / 0.651 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.3819, allocations: 3.891 kB / 0.651 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004933/0.3824, allocations: 157.7 kB / 0.6511 GB, free: 53.14 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.363e-05/0.3824, allocations: 65.47 kB / 0.6512 GB, free: 53.07 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.273e-05/0.3825, allocations: 11.84 kB / 0.6512 GB, free: 53.07 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.541e-05/0.3825, allocations: 12.33 kB / 0.6512 GB, free: 53.07 MB / 0.5573 GB Notification: Performance of SimCode: time 1.072e-06/0.3825, allocations: 1.906 kB / 0.6512 GB, free: 53.07 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02511/0.4076, allocations: 2.299 MB / 0.6535 GB, free: 52.28 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.134/7.541, allocations: 8.062 kB / 0.6535 GB, free: 52.28 MB / 0.5573 GB " [Timeout remaining time 652] (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: 10.805690271779895] Failed to read output from testmodel.py, exit status != 0: 7.621354168280959 7.631781313 7.252721151 Calling exit ...