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.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.001847/0.001847, allocations: 107.3 kB / 16.45 MB, free: 6.453 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.00218/0.00218, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.526/1.526, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.8674/0.8674, allocations: 133.9 MB / 442.8 MB, free: 11.28 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.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: 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.002/0.002, allocations: 62.16 kB / 0.6134 GB, free: 8.723 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1589, allocations: 85.86 MB / 0.6973 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002389/0.1613, allocations: 1.276 MB / 0.6985 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003213/0.1616, allocations: 120 kB / 0.6986 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.557e-05/0.1616, allocations: 0 / 0.6986 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.479e-05/0.1616, allocations: 0 / 0.6986 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.331e-05/0.1617, allocations: 7.922 kB / 0.6986 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002138/0.1619, allocations: 35.89 kB / 0.6987 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.849e-05/0.162, allocations: 19.86 kB / 0.6987 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.218e-05/0.162, allocations: 8 kB / 0.6987 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.214e-05/0.162, allocations: 4 kB / 0.6987 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.03e-05/0.1621, allocations: 3.984 kB / 0.6987 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.1621, allocations: 7.984 kB / 0.6987 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.1622, allocations: 47.95 kB / 0.6988 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.404e-05/0.1623, allocations: 3.938 kB / 0.6988 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.238e-05/0.1623, allocations: 7.984 kB / 0.6988 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.1624, allocations: 36.11 kB / 0.6988 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1624, allocations: 0 / 0.6988 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1624, allocations: 0 / 0.6988 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5e-06/0.1624, allocations: 7.938 kB / 0.6988 GB, free: 1.352 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.0004296/0.1628, allocations: 339.3 kB / 0.6991 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1629, allocations: 9.109 kB / 0.6991 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.095e-05/0.1629, allocations: 34.69 kB / 0.6992 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.346e-05/0.1629, allocations: 4.938 kB / 0.6992 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.1631, allocations: 164.4 kB / 0.6993 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.672e-06/0.1631, allocations: 384 / 0.6993 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.1631, allocations: 4.125 kB / 0.6993 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.69e-05/0.1632, allocations: 41.69 kB / 0.6994 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.1632, allocations: 0 / 0.6994 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.1632, allocations: 0 / 0.6994 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1632, allocations: 0 / 0.6994 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.846e-05/0.1632, allocations: 7.938 kB / 0.6994 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001776/0.1634, allocations: 161.6 kB / 0.6995 GB, free: 464 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.301e-05/0.1635, allocations: 22.61 kB / 0.6996 GB, free: 432 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.679e-05/0.1635, allocations: 20.86 kB / 0.6996 GB, free: 408 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000781/0.1643, allocations: 0.609 MB / 0.7002 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.1643, allocations: 30.56 kB / 0.7002 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1643, allocations: 0 / 0.7002 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001635/0.1645, allocations: 41.64 kB / 0.7002 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.1645, allocations: 55.41 kB / 0.7003 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.887e-05/0.1646, allocations: 97.97 kB / 0.7004 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.1646, allocations: 29.7 kB / 0.7004 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.998e-05/0.1647, allocations: 84.14 kB / 0.7005 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.1647, allocations: 3.953 kB / 0.7005 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/0.1647, allocations: 13.72 kB / 0.7005 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.1649, allocations: 318.8 kB / 0.7008 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.661e-05/0.1649, allocations: 7.938 kB / 0.7008 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.485e-06/0.1649, allocations: 0 / 0.7008 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.262e-05/0.1649, allocations: 12.92 kB / 0.7008 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1649, allocations: 0 / 0.7008 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.936e-05/0.165, allocations: 49.58 kB / 0.7009 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.165, allocations: 4 kB / 0.7009 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.165, allocations: 0 / 0.7009 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.165, allocations: 3.984 kB / 0.7009 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.122e-05/0.1651, allocations: 4 kB / 0.7009 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1651, allocations: 0 / 0.7009 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.726e-05/0.1651, allocations: 0 / 0.7009 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-06/0.1651, allocations: 0 / 0.7009 GB, free: 14.85 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 (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 8.093e-05/0.1652, allocations: 113.9 kB / 0.701 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.001e-05/0.1652, allocations: 3.938 kB / 0.701 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.1653, allocations: 48.75 kB / 0.7011 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1653, allocations: 0 / 0.7011 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.1653, allocations: 4 kB / 0.7011 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.1653, allocations: 0 / 0.7011 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.1655, allocations: 157.5 kB / 0.7012 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.1655, allocations: 4 kB / 0.7012 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.028e-05/0.1655, allocations: 32 / 0.7012 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.1655, allocations: 4 kB / 0.7012 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.1655, allocations: 4 kB / 0.7012 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1655, allocations: 0 / 0.7012 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1655, allocations: 0 / 0.7012 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.419e-05/0.1656, allocations: 69.02 kB / 0.7013 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.216e-05/0.1656, allocations: 77.11 kB / 0.7014 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.1656, allocations: 4.188 kB / 0.7014 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.122e-05/0.1657, allocations: 8.031 kB / 0.7014 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.195e-05/0.1657, allocations: 7.984 kB / 0.7014 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.1657, allocations: 0 / 0.7014 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.425e-05/0.1657, allocations: 87.2 kB / 0.7015 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1657, allocations: 0 / 0.7015 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000201/0.1659, allocations: 15.94 kB / 0.7015 GB, free: 14.15 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 (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.0004994/0.1664, allocations: 0.6085 MB / 0.7021 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 9.265e-05/0.1665, allocations: 19.92 kB / 0.7021 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1665, allocations: 0 / 0.7021 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.43e-05/0.1665, allocations: 7.938 kB / 0.7021 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.1668, allocations: 4 kB / 0.7021 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.1679, allocations: 1.09 MB / 0.7032 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.1683, allocations: 0.6806 MB / 0.7038 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.848e-05/0.1683, allocations: 4 kB / 0.7038 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.029e-05/0.1683, allocations: 7.438 kB / 0.7038 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of SimCode: time 4.91e-07/0.1683, allocations: 0 / 0.7038 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02373/0.1921, allocations: 1.427 MB / 0.7052 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.049/8.241, allocations: 8 kB / 0.7052 GB, free: 10.27 MB / 0.5294 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw_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_PowerLaw.fmu > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.965361258000485] Failed to read output from testmodel.py, exit status != 0: 8.309963621009956 8.33283166 8.166357204 Calling exit ...