Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001378/0.001378, allocations: 103 kB / 16.45 MB, free: 6.449 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.001514/0.001514, allocations: 208.9 kB / 19.42 MB, free: 3.641 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.59/1.59, allocations: 230.6 MB / 252.8 MB, free: 8.988 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.8616/0.8616, allocations: 133.9 MB / 442.8 MB, free: 11.27 MB / 350.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.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(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001946/0.001946, allocations: 70.44 kB / 0.6134 GB, free: 8.711 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1615, allocations: 85.84 MB / 0.6973 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002611/0.1641, allocations: 1.322 MB / 0.6986 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0005802/0.1647, allocations: 295.4 kB / 0.6988 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.339e-05/0.1647, allocations: 0 / 0.6988 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.953e-05/0.1647, allocations: 3.938 kB / 0.6988 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.783e-05/0.1648, allocations: 19.91 kB / 0.6989 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.1651, allocations: 79.72 kB / 0.6989 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.812e-05/0.1652, allocations: 35.8 kB / 0.699 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.346e-05/0.1653, allocations: 4 kB / 0.699 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.1654, allocations: 27.97 kB / 0.699 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.366e-05/0.1654, allocations: 11.92 kB / 0.699 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.1654, allocations: 0 / 0.699 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001709/0.1656, allocations: 87.91 kB / 0.6991 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.892e-05/0.1656, allocations: 11.92 kB / 0.6991 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.377e-05/0.1657, allocations: 7.938 kB / 0.6991 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.1659, allocations: 80 kB / 0.6992 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1659, allocations: 0 / 0.6992 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1659, allocations: 0 / 0.6992 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.1659, allocations: 0 / 0.6992 GB, free: 0.9609 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004535/0.1663, allocations: 355.2 kB / 0.6995 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.1664, allocations: 9.109 kB / 0.6995 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.32e-05/0.1664, allocations: 42.67 kB / 0.6996 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.838e-05/0.1664, allocations: 4.938 kB / 0.6996 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.1666, allocations: 164.3 kB / 0.6997 GB, free: 312 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.1666, allocations: 8.375 kB / 0.6997 GB, free: 304 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.1666, allocations: 8.062 kB / 0.6998 GB, free: 296 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.1667, allocations: 37.67 kB / 0.6998 GB, free: 252 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.1667, allocations: 0 / 0.6998 GB, free: 252 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.1667, allocations: 0 / 0.6998 GB, free: 252 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1667, allocations: 4 kB / 0.6998 GB, free: 248 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.084e-05/0.1668, allocations: 8 kB / 0.6998 GB, free: 240 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001987/0.167, allocations: 169.6 kB / 0.7 GB, free: 20 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.1671, allocations: 34.53 kB / 0.7 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.401e-05/0.1671, allocations: 12.86 kB / 0.7 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001229/0.1684, allocations: 1.187 MB / 0.7012 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.1684, allocations: 30.56 kB / 0.7012 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.1684, allocations: 0 / 0.7012 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0001685/0.1685, allocations: 57.58 kB / 0.7013 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.1686, allocations: 55.41 kB / 0.7013 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.245e-05/0.1687, allocations: 105.8 kB / 0.7014 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.1687, allocations: 29.7 kB / 0.7014 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.167e-05/0.1687, allocations: 84.14 kB / 0.7015 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.1688, allocations: 7.938 kB / 0.7015 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.1688, allocations: 17.72 kB / 0.7015 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1689, allocations: 310.8 kB / 0.7018 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.782e-05/0.1689, allocations: 4 kB / 0.7018 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.936e-05/0.169, allocations: 11.98 kB / 0.7018 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.954e-05/0.169, allocations: 12.86 kB / 0.7019 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.169, allocations: 4 kB / 0.7019 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.097e-05/0.1691, allocations: 61.52 kB / 0.7019 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1691, allocations: 4 kB / 0.7019 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1691, allocations: 0 / 0.7019 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1691, allocations: 0 / 0.7019 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.485e-05/0.1692, allocations: 4 kB / 0.7019 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1692, allocations: 4 kB / 0.7019 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.816e-05/0.1692, allocations: 0 / 0.7019 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.209e-06/0.1692, allocations: 0 / 0.7019 GB, free: 13.65 MB / 0.5294 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.534e-05/0.1693, allocations: 117.8 kB / 0.702 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.1693, allocations: 3.938 kB / 0.7021 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.1695, allocations: 65.84 kB / 0.7021 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1695, allocations: 0 / 0.7021 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1695, allocations: 0 / 0.7021 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1695, allocations: 4.031 kB / 0.7021 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.1696, allocations: 165.5 kB / 0.7023 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1696, allocations: 0 / 0.7023 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.852e-05/0.1696, allocations: 8 kB / 0.7023 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1696, allocations: 3.938 kB / 0.7023 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.1696, allocations: 3.938 kB / 0.7023 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.1696, allocations: 3.984 kB / 0.7023 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1697, allocations: 4 kB / 0.7023 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.1698, allocations: 73.02 kB / 0.7024 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.951e-05/0.1698, allocations: 85.11 kB / 0.7024 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.1698, allocations: 0 / 0.7024 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.353e-05/0.1699, allocations: 4 kB / 0.7025 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.072e-05/0.1699, allocations: 7.984 kB / 0.7025 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.1699, allocations: 3.938 kB / 0.7025 GB, free: 13 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.624e-05/0.17, allocations: 87.58 kB / 0.7025 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.17, allocations: 0 / 0.7025 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002315/0.1702, allocations: 35.86 kB / 0.7026 GB, free: 12.88 MB / 0.5294 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.0005253/0.1707, allocations: 0.6357 MB / 0.7032 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 9.817e-05/0.1708, allocations: 15.94 kB / 0.7032 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1708, allocations: 0 / 0.7032 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.809e-05/0.1708, allocations: 7.984 kB / 0.7032 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.171, allocations: 10.75 kB / 0.7032 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004155/0.1715, allocations: 159.6 kB / 0.7034 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.1718, allocations: 0.6844 MB / 0.7041 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.044e-05/0.1718, allocations: 8 kB / 0.7041 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.733e-05/0.1718, allocations: 11.44 kB / 0.7041 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.1718, allocations: 0 / 0.7041 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0245/0.1963, allocations: 1.634 MB / 0.7057 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.308/8.505, allocations: 0 / 0.7057 GB, free: 9.762 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.256202320000739] Failed to read output from testmodel.py, exit status != 0: 8.574875300997519 8.591513478 8.422476457 Calling exit ...