Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 107.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7933/0.7933, allocations: 134 MB / 436.6 MB, free: 1.668 MB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 72.41 kB / 0.6051 GB, free: 15.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1517, allocations: 84.67 MB / 0.6878 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002467/0.1542, allocations: 1.272 MB / 0.689 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003007/0.1545, allocations: 120 kB / 0.6892 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.844e-05/0.1545, allocations: 4 kB / 0.6892 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.862e-05/0.1545, allocations: 0 / 0.6892 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.969e-05/0.1546, allocations: 7.938 kB / 0.6892 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.1548, allocations: 39.81 kB / 0.6892 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.303e-05/0.1548, allocations: 11.94 kB / 0.6892 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.481e-05/0.1549, allocations: 4 kB / 0.6892 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.143e-05/0.1549, allocations: 15.86 kB / 0.6892 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.048e-05/0.155, allocations: 4 kB / 0.6892 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.155, allocations: 4 kB / 0.6892 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.1551, allocations: 51.94 kB / 0.6893 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.377e-06/0.1551, allocations: 0 / 0.6893 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.572e-05/0.1551, allocations: 7.938 kB / 0.6893 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.1553, allocations: 44.09 kB / 0.6893 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1553, allocations: 0 / 0.6893 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.094e-06/0.1553, allocations: 0 / 0.6893 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.1553, allocations: 0 / 0.6893 GB, free: 9.543 MB / 0.5137 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.0004185/0.1557, allocations: 339.3 kB / 0.6897 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1557, allocations: 12.03 kB / 0.6897 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.837e-05/0.1558, allocations: 30.75 kB / 0.6897 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.959e-05/0.1558, allocations: 0.9375 kB / 0.6897 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.1559, allocations: 164.4 kB / 0.6899 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.1559, allocations: 4.375 kB / 0.6899 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.699e-06/0.156, allocations: 4.125 kB / 0.6899 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.44e-05/0.156, allocations: 33.7 kB / 0.6899 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.156, allocations: 3.938 kB / 0.6899 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.156, allocations: 0 / 0.6899 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.156, allocations: 4 kB / 0.6899 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.914e-05/0.1561, allocations: 4 kB / 0.6899 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.1562, allocations: 153.7 kB / 0.6901 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.228e-05/0.1563, allocations: 22.58 kB / 0.6901 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.222e-05/0.1563, allocations: 16.78 kB / 0.6901 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000749/0.1571, allocations: 0.6013 MB / 0.6907 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.1571, allocations: 34.56 kB / 0.6907 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1571, allocations: 0 / 0.6907 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0001392/0.1572, allocations: 49.62 kB / 0.6908 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.1573, allocations: 51.41 kB / 0.6908 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.579e-05/0.1574, allocations: 93.86 kB / 0.6909 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.1574, allocations: 25.7 kB / 0.6909 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.44e-05/0.1574, allocations: 84.14 kB / 0.691 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.1575, allocations: 16.06 kB / 0.691 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-05/0.1575, allocations: 9.719 kB / 0.691 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1576, allocations: 318.8 kB / 0.6913 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.062e-05/0.1576, allocations: 0 / 0.6913 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.558e-06/0.1576, allocations: 4 kB / 0.6913 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.915e-05/0.1577, allocations: 12.8 kB / 0.6914 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1577, allocations: 3.938 kB / 0.6914 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.776e-05/0.1577, allocations: 57.58 kB / 0.6914 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.1578, allocations: 4 kB / 0.6914 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.1578, allocations: 4 kB / 0.6914 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1578, allocations: 0 / 0.6914 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.376e-05/0.1578, allocations: 0 / 0.6914 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1578, allocations: 4 kB / 0.6914 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.729e-05/0.1578, allocations: 0 / 0.6914 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-06/0.1578, allocations: 0 / 0.6914 GB, free: 7.047 MB / 0.5137 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 7.681e-05/0.1579, allocations: 105.8 kB / 0.6915 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.093e-05/0.1579, allocations: 7.938 kB / 0.6915 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.894e-05/0.158, allocations: 52.78 kB / 0.6916 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.158, allocations: 0 / 0.6916 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.158, allocations: 4 kB / 0.6916 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.158, allocations: 192 / 0.6916 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.1582, allocations: 157.6 kB / 0.6917 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.1582, allocations: 0 / 0.6917 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.199e-05/0.1582, allocations: 4 kB / 0.6917 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.1582, allocations: 3.984 kB / 0.6917 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-06/0.1582, allocations: 0 / 0.6917 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.1582, allocations: 3.984 kB / 0.6917 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1582, allocations: 4.031 kB / 0.6918 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.015e-05/0.1583, allocations: 69.02 kB / 0.6918 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.344e-05/0.1583, allocations: 77.11 kB / 0.6919 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.1583, allocations: 3.984 kB / 0.6919 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.663e-05/0.1584, allocations: 0 / 0.6919 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.311e-05/0.1584, allocations: 8 kB / 0.6919 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.1584, allocations: 0 / 0.6919 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.8e-05/0.1584, allocations: 79.31 kB / 0.692 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1584, allocations: 0 / 0.692 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002098/0.1586, allocations: 15.94 kB / 0.692 GB, free: 6.355 MB / 0.5137 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.0004843/0.1591, allocations: 0.624 MB / 0.6926 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.129e-05/0.1592, allocations: 19.97 kB / 0.6926 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1592, allocations: 0 / 0.6926 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-05/0.1592, allocations: 4 kB / 0.6926 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.1594, allocations: 10.39 kB / 0.6926 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000997/0.1604, allocations: 1.095 MB / 0.6937 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.1608, allocations: 0.6729 MB / 0.6944 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.472e-05/0.1608, allocations: 4.062 kB / 0.6944 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.608e-05/0.1608, allocations: 11.44 kB / 0.6944 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.1608, allocations: 0 / 0.6944 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02384/0.1846, allocations: 1.431 MB / 0.6958 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.419/7.604, allocations: 0 / 0.6958 GB, free: 2.461 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.791078315116465] Failed to read output from testmodel.py, exit status != 0: 7.6686933767050505 7.685597943 7.527152882 Calling exit ...