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.0009026/0.0009026, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001092/0.001092, allocations: 170.3 kB / 22.46 MB, free: 2.102 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.017/1.017, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.001713/0.001713, allocations: 237.7 kB / 259.4 MB, free: 13.04 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.7467/0.7467, allocations: 138.4 MB / 454.3 MB, free: 30.06 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 1.733e-06/1.733e-06, allocations: 0 / 0.6463 GB, free: 1.918 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.273e-05/2.447e-05, allocations: 10.22 kB / 0.6463 GB, free: 1.906 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002265/0.002289, allocations: 1.306 MB / 0.6476 GB, free: 0.5898 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0004462/0.002735, allocations: 275 kB / 0.6478 GB, free: 328 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.66e-05/0.002772, allocations: 0 / 0.6478 GB, free: 328 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.37e-05/0.002795, allocations: 0 / 0.6478 GB, free: 328 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.002927, allocations: 15.84 kB / 0.6478 GB, free: 312 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003638/0.003291, allocations: 79.66 kB / 0.6479 GB, free: 232 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 9.558e-05/0.003386, allocations: 35.84 kB / 0.648 GB, free: 196 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.999e-05/0.003436, allocations: 8 kB / 0.648 GB, free: 188 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.003568, allocations: 31.91 kB / 0.648 GB, free: 156 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.208e-05/0.00362, allocations: 11.98 kB / 0.648 GB, free: 144 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.003639, allocations: 0 / 0.648 GB, free: 144 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.003773, allocations: 75.91 kB / 0.6481 GB, free: 68 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.907e-05/0.003792, allocations: 11.94 kB / 0.6481 GB, free: 56 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.821e-05/0.003811, allocations: 7.984 kB / 0.6481 GB, free: 48 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.3288/0.3326, allocations: 78.83 kB / 0.6482 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3326, allocations: 1.938 kB / 0.6482 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3326, allocations: 0 / 0.6482 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.3326, allocations: 0 / 0.6482 GB, free: 55.84 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.0003548/0.333, allocations: 281.5 kB / 0.6484 GB, free: 55.58 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.333, allocations: 12.34 kB / 0.6485 GB, free: 55.58 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.402e-05/0.333, allocations: 30.75 kB / 0.6485 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.895e-05/0.333, allocations: 7.438 kB / 0.6485 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.131e-05/0.3331, allocations: 112.6 kB / 0.6486 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.3331, allocations: 5.125 kB / 0.6486 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.236e-06/0.3331, allocations: 2.531 kB / 0.6486 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.252e-05/0.3332, allocations: 62.45 kB / 0.6487 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.3332, allocations: 4.594 kB / 0.6487 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.3332, allocations: 5.797 kB / 0.6487 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3332, allocations: 0 / 0.6487 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.128e-05/0.3333, allocations: 9.172 kB / 0.6487 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000105/0.3334, allocations: 129.2 kB / 0.6488 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.604e-05/0.3335, allocations: 33.58 kB / 0.6488 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.938e-05/0.3335, allocations: 10.8 kB / 0.6489 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004306/0.3339, allocations: 142.4 kB / 0.649 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.3339, allocations: 34.64 kB / 0.649 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.3339, allocations: 0 / 0.649 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0001612/0.3341, allocations: 62.34 kB / 0.6491 GB, free: 55.08 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.19e-05/0.3341, allocations: 54.5 kB / 0.6491 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.339e-05/0.3342, allocations: 108.4 kB / 0.6492 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.155e-06/0.3342, allocations: 27.98 kB / 0.6493 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.399e-05/0.3342, allocations: 86.81 kB / 0.6493 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.3342, allocations: 11.27 kB / 0.6494 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.3343, allocations: 19.53 kB / 0.6494 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.512e-05/0.3343, allocations: 314.7 kB / 0.6497 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.877e-05/0.3343, allocations: 4.531 kB / 0.6497 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.416e-05/0.3343, allocations: 7.016 kB / 0.6497 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.956e-05/0.3344, allocations: 18.16 kB / 0.6497 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.3344, allocations: 2.406 kB / 0.6497 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.278e-05/0.3345, allocations: 48.23 kB / 0.6498 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.506e-05/0.3345, allocations: 9.469 kB / 0.6498 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.3345, allocations: 0.6562 kB / 0.6498 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.142e-05/0.3345, allocations: 0.5 kB / 0.6498 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.364e-05/0.3346, allocations: 5.594 kB / 0.6498 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.3346, allocations: 2.297 kB / 0.6498 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.582e-05/0.3346, allocations: 1.625 kB / 0.6498 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.3347, allocations: 2.656 kB / 0.6498 GB, free: 54.43 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 5.807e-05/0.3347, allocations: 111.3 kB / 0.6499 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.119e-05/0.3347, allocations: 6.125 kB / 0.6499 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001463/0.3349, allocations: 68.09 kB / 0.6499 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.3349, allocations: 1.359 kB / 0.65 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.3349, allocations: 0.6562 kB / 0.65 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.3349, allocations: 2.719 kB / 0.65 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.614e-05/0.3349, allocations: 128.2 kB / 0.6501 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.335, allocations: 0.7188 kB / 0.6501 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.762e-05/0.335, allocations: 7.109 kB / 0.6501 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.335, allocations: 1.406 kB / 0.6501 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.335, allocations: 4.594 kB / 0.6501 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.335, allocations: 0.6562 kB / 0.6501 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.335, allocations: 3.578 kB / 0.6501 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.428e-05/0.335, allocations: 75.2 kB / 0.6502 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.315e-05/0.3351, allocations: 13.77 kB / 0.6502 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.3351, allocations: 5.859 kB / 0.6502 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.852e-05/0.3352, allocations: 2.672 kB / 0.6502 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.3352, allocations: 2.219 kB / 0.6502 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.3352, allocations: 4.5 kB / 0.6502 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.872e-05/0.3353, allocations: 89.55 kB / 0.6503 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.3353, allocations: 0 / 0.6503 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001505/0.3354, allocations: 30.41 kB / 0.6503 GB, free: 53.96 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.0002721/0.3357, allocations: 0.6381 MB / 0.6509 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 8.998e-05/0.3358, allocations: 13.56 kB / 0.6509 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3358, allocations: 0 / 0.6509 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.712e-05/0.3358, allocations: 15.61 kB / 0.651 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.3361, allocations: 4.5 kB / 0.651 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00055/0.3367, allocations: 160.3 kB / 0.6511 GB, free: 53.21 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.177e-05/0.3367, allocations: 63.58 kB / 0.6512 GB, free: 53.14 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.381e-05/0.3368, allocations: 10.78 kB / 0.6512 GB, free: 53.14 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.056e-05/0.3368, allocations: 13.22 kB / 0.6512 GB, free: 53.14 MB / 0.5573 GB Notification: Performance of SimCode: time 6.71e-07/0.3368, allocations: 0 / 0.6512 GB, free: 53.14 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01765/0.3544, allocations: 2.305 MB / 0.6534 GB, free: 52.34 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.403/7.758, allocations: 6.438 kB / 0.6535 GB, free: 52.33 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.730793359689415] Failed to read output from testmodel.py, exit status != 0: 7.84233049955219 7.854013504 7.5191357629999995 Calling exit ...