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.001297/0.001297, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001585/0.001585, allocations: 216.2 kB / 22.26 MB, free: 5.078 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.388/1.388, allocations: 230.6 MB / 256 MB, free: 8.02 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.002422/0.002422, allocations: 287.1 kB / 312.7 MB, free: 2.828 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.186/1.186, allocations: 180.6 MB / 0.5369 GB, free: 12.99 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.00278/0.00278, allocations: 100.7 kB / 0.7396 GB, free: 28.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1666, allocations: 95.38 MB / 0.8327 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002588/0.1692, allocations: 1.318 MB / 0.834 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006249/0.1698, allocations: 306.9 kB / 0.8343 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.583e-05/0.1698, allocations: 3.938 kB / 0.8343 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.315e-05/0.1699, allocations: 3.938 kB / 0.8343 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.829e-05/0.17, allocations: 11.92 kB / 0.8343 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003463/0.1703, allocations: 79.72 kB / 0.8344 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.1704, allocations: 27.92 kB / 0.8344 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.267e-05/0.1704, allocations: 8 kB / 0.8344 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.1706, allocations: 35.83 kB / 0.8345 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.31e-05/0.1706, allocations: 11.94 kB / 0.8345 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.1706, allocations: 0 / 0.8345 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.1708, allocations: 83.91 kB / 0.8346 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.76e-05/0.1708, allocations: 11.94 kB / 0.8346 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.941e-05/0.1709, allocations: 11.92 kB / 0.8346 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.1711, allocations: 76 kB / 0.8347 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.989e-06/0.1711, allocations: 4 kB / 0.8347 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1711, allocations: 0 / 0.8347 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.1711, allocations: 0 / 0.8347 GB, free: 6.68 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.0004058/0.1715, allocations: 274.1 kB / 0.8349 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.1715, allocations: 9.344 kB / 0.8349 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.426e-05/0.1716, allocations: 30.75 kB / 0.835 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.1716, allocations: 16.89 kB / 0.835 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.1717, allocations: 110.5 kB / 0.8351 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.392e-06/0.1717, allocations: 384 / 0.8351 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.1717, allocations: 12.11 kB / 0.8351 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.1718, allocations: 33.7 kB / 0.8351 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1718, allocations: 0 / 0.8351 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-06/0.1719, allocations: 0 / 0.8351 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1719, allocations: 0 / 0.8351 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.376e-05/0.1719, allocations: 15.97 kB / 0.8352 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001746/0.1721, allocations: 132.7 kB / 0.8353 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.1722, allocations: 42.5 kB / 0.8353 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.205e-05/0.1722, allocations: 12.86 kB / 0.8353 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006808/0.1729, allocations: 143.9 kB / 0.8355 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.1729, allocations: 30.56 kB / 0.8355 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.1729, allocations: 0 / 0.8355 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0001642/0.1731, allocations: 57.58 kB / 0.8356 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.1731, allocations: 51.41 kB / 0.8356 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.494e-05/0.1732, allocations: 113.8 kB / 0.8357 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.1732, allocations: 33.7 kB / 0.8357 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.718e-05/0.1733, allocations: 80.14 kB / 0.8358 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.1733, allocations: 7.953 kB / 0.8358 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.1734, allocations: 17.67 kB / 0.8358 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1735, allocations: 322.8 kB / 0.8362 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.633e-05/0.1735, allocations: 4 kB / 0.8362 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.269e-05/0.1735, allocations: 4 kB / 0.8362 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.918e-05/0.1736, allocations: 16.86 kB / 0.8362 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1736, allocations: 0 / 0.8362 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.194e-05/0.1737, allocations: 49.62 kB / 0.8362 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.1737, allocations: 8 kB / 0.8362 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1737, allocations: 0 / 0.8362 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1737, allocations: 0 / 0.8362 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.486e-05/0.1738, allocations: 11.94 kB / 0.8362 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1738, allocations: 3.984 kB / 0.8362 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.609e-05/0.1738, allocations: 0 / 0.8362 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-06/0.1738, allocations: 0 / 0.8362 GB, free: 4.875 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 8.934e-05/0.1739, allocations: 114.5 kB / 0.8364 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.319e-05/0.1739, allocations: 3.938 kB / 0.8364 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/0.174, allocations: 57.69 kB / 0.8364 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.174, allocations: 0 / 0.8364 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.174, allocations: 0 / 0.8364 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.174, allocations: 0 / 0.8364 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.1742, allocations: 144.6 kB / 0.8366 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1742, allocations: 0 / 0.8366 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.133e-05/0.1742, allocations: 7.938 kB / 0.8366 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1742, allocations: 0 / 0.8366 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.1742, allocations: 12 kB / 0.8366 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1742, allocations: 0 / 0.8366 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.1742, allocations: 4 kB / 0.8366 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.1743, allocations: 73.42 kB / 0.8366 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.519e-05/0.1744, allocations: 11.94 kB / 0.8367 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.1744, allocations: 3.938 kB / 0.8367 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.091e-05/0.1744, allocations: 8 kB / 0.8367 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.67e-05/0.1744, allocations: 0 / 0.8367 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.1744, allocations: 4 kB / 0.8367 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.283e-05/0.1745, allocations: 87.27 kB / 0.8368 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1745, allocations: 0 / 0.8368 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002197/0.1747, allocations: 31.88 kB / 0.8368 GB, free: 4.238 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.0005391/0.1752, allocations: 0.6318 MB / 0.8374 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001033/0.1753, allocations: 23.98 kB / 0.8374 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1753, allocations: 0 / 0.8374 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.652e-05/0.1754, allocations: 7.938 kB / 0.8374 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.1756, allocations: 11.94 kB / 0.8374 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004202/0.176, allocations: 161.4 kB / 0.8376 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.1763, allocations: 0.6807 MB / 0.8383 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.811e-05/0.1764, allocations: 8 kB / 0.8383 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.169e-05/0.1764, allocations: 11.44 kB / 0.8383 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of SimCode: time 3.2e-07/0.1764, allocations: 0 / 0.8383 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.2043, allocations: 1.748 MB / 0.84 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/10.95, allocations: 10.02 kB / 0.84 GB, free: 1 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 & /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: 14.911611096002162] Failed to read output from testmodel.py, exit status != 0: 11.05415901192464 11.070211264 10.896189631 Calling exit ...