Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.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.001287/0.001287, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00155/0.00155, allocations: 210.2 kB / 22.24 MB, free: 5.262 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.375/1.375, allocations: 230.6 MB / 256 MB, free: 7.781 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.7921/0.7921, allocations: 134 MB / 446.4 MB, free: 9.895 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.Examples.PowerLaw,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_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.001948/0.001948, allocations: 71.89 kB / 0.6185 GB, free: 6.871 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1636, allocations: 85.91 MB / 0.7024 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.5393/0.7029, allocations: 170.4 MB / 0.8688 GB, free: 8.695 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.006344/0.7093, allocations: 3.776 MB / 0.8725 GB, free: 4.91 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005946/0.7099, allocations: 27.75 kB / 0.8725 GB, free: 4.883 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.7112, allocations: 469 kB / 0.873 GB, free: 4.422 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003518/0.7147, allocations: 1.567 MB / 0.8745 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003347/0.718, allocations: 1.401 MB / 0.8759 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002074/0.7201, allocations: 1.647 MB / 0.8775 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001066/0.7212, allocations: 0.8343 MB / 0.8783 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00134/0.7225, allocations: 0.9619 MB / 0.8792 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001123/0.7236, allocations: 0.8486 MB / 0.8801 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001571/0.7238, allocations: 100 kB / 0.8802 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002126/0.7259, allocations: 1.11 MB / 0.8812 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003656/0.7263, allocations: 374.9 kB / 0.8816 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004796/0.7268, allocations: 458.2 kB / 0.882 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002014/0.7288, allocations: 1.653 MB / 0.8836 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.7288, allocations: 0 / 0.8836 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7288, allocations: 0 / 0.8836 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.7288, allocations: 0 / 0.8836 GB, free: 9.457 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002481/0.7313, allocations: 1.192 MB / 0.8848 GB, free: 8.23 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.7313, allocations: 8.031 kB / 0.8848 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001391/0.7315, allocations: 94.52 kB / 0.8849 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001419/0.7329, allocations: 247.2 kB / 0.8851 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009902/0.7339, allocations: 0.5421 MB / 0.8857 GB, free: 7.309 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.697e-05/0.7339, allocations: 37 kB / 0.8857 GB, free: 7.273 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.734, allocations: 55.98 kB / 0.8858 GB, free: 7.219 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.7356, allocations: 1.05 MB / 0.8868 GB, free: 6.086 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/0.7356, allocations: 11.89 kB / 0.8868 GB, free: 6.074 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.539e-05/0.7357, allocations: 27.98 kB / 0.8868 GB, free: 6.047 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.39e-05/0.7357, allocations: 31.92 kB / 0.8869 GB, free: 6.016 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/0.7373, allocations: 0.9992 MB / 0.8878 GB, free: 5.016 MB / 0.6544 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004876/0.7422, allocations: 3.709 MB / 0.8915 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000949/0.7431, allocations: 0.5626 MB / 0.892 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007488/0.7439, allocations: 490.6 kB / 0.8925 GB, free: 132 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006652/0.7445, allocations: 136.3 kB / 0.8926 GB, free: 15.99 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.7446, allocations: 39 kB / 0.8926 GB, free: 15.95 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002156/0.7467, allocations: 0.6321 MB / 0.8933 GB, free: 15.32 MB / 0.67 GB Notification: Performance of pre-optimization done (n=50): time 6.843e-06/0.7467, allocations: 4 kB / 0.8933 GB, free: 15.31 MB / 0.67 GB Notification: Performance of matching and sorting (n=50): time 0.01669/0.7634, allocations: 3.683 MB / 0.8969 GB, free: 11.61 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.7635, allocations: 55.84 kB / 0.8969 GB, free: 11.55 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009905/0.7644, allocations: 0.7078 MB / 0.8976 GB, free: 10.83 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001258/0.7646, allocations: 37.7 kB / 0.8976 GB, free: 10.79 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000289/0.7649, allocations: 320.8 kB / 0.8979 GB, free: 10.47 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001979/0.7651, allocations: 182.4 kB / 0.8981 GB, free: 10.29 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002686/0.7653, allocations: 153.9 kB / 0.8983 GB, free: 10.14 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.7655, allocations: 326 kB / 0.8986 GB, free: 9.812 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006822/0.7662, allocations: 396.8 kB / 0.899 GB, free: 9.426 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000778/0.7669, allocations: 0.5237 MB / 0.8995 GB, free: 8.855 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/0.7684, allocations: 0.918 MB / 0.9004 GB, free: 7.91 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.7684, allocations: 4.031 kB / 0.9004 GB, free: 7.906 MB / 0.67 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01094/0.7794, allocations: 2.564 MB / 0.9029 GB, free: 5.328 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.7794, allocations: 6.031 kB / 0.9029 GB, free: 5.324 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.7794, allocations: 4 kB / 0.9029 GB, free: 5.32 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0092/0.7886, allocations: 1.728 MB / 0.9046 GB, free: 3.586 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004962/0.7891, allocations: 91.86 kB / 0.9047 GB, free: 3.496 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01244/0.8016, allocations: 6.884 MB / 0.9114 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008542/0.8024, allocations: 16.06 kB / 0.9114 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.8025, allocations: 47.92 kB / 0.9114 GB, free: 12.32 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003959/0.8029, allocations: 201.8 kB / 0.9116 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/0.8031, allocations: 91.42 kB / 0.9117 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005001/0.8081, allocations: 1.726 MB / 0.9134 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.8081, allocations: 8 kB / 0.9134 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.8081, allocations: 4 kB / 0.9134 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.8081, allocations: 0 / 0.9134 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005831/0.8139, allocations: 2.389 MB / 0.9157 GB, free: 7.809 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.814, allocations: 0 / 0.9157 GB, free: 7.809 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004127/0.8144, allocations: 91.88 kB / 0.9158 GB, free: 7.719 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003289/0.8177, allocations: 0.7979 MB / 0.9166 GB, free: 6.914 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.453e-05/0.8177, allocations: 16 kB / 0.9166 GB, free: 6.898 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00679/0.8245, allocations: 4.604 MB / 0.9211 GB, free: 2.07 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/0.8245, allocations: 7.938 kB / 0.9211 GB, free: 2.062 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005375/0.8299, allocations: 2.138 MB / 0.9232 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004768/0.8304, allocations: 167.3 kB / 0.9234 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.8305, allocations: 19.94 kB / 0.9234 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005479/0.831, allocations: 20.36 kB / 0.9234 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.8312, allocations: 56.28 kB / 0.9235 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.762e-05/0.8312, allocations: 23.98 kB / 0.9235 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006236/0.8318, allocations: 0.4951 MB / 0.924 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7e-08/0.8318, allocations: 0 / 0.924 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009383/0.8328, allocations: 283.8 kB / 0.9242 GB, free: 14.83 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00564/0.8384, allocations: 2.788 MB / 0.927 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003351/0.8418, allocations: 1.406 MB / 0.9283 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.8418, allocations: 4 kB / 0.9283 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001732/0.8435, allocations: 0.8597 MB / 0.9292 GB, free: 9.66 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001907/0.8454, allocations: 459.8 kB / 0.9296 GB, free: 9.227 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02853/0.8739, allocations: 10.44 MB / 0.9398 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004054/0.8743, allocations: 385.3 kB / 0.9402 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000607/0.875, allocations: 158.6 kB / 0.9403 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004041/0.8754, allocations: 283.3 kB / 0.9406 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of SimCode: time 5.81e-07/0.8754, allocations: 0 / 0.9406 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07447/0.9498, allocations: 32.89 MB / 0.9727 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.77, allocations: 3.266 kB / 0.9727 GB, free: 13.36 MB / 0.7481 GB " [Timeout remaining time 647] (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Airflow.Multizone.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_Examples_PowerLaw.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.262405996210873] Failed to read output from testmodel.py, exit status != 0: 12.89625086588785 12.912492391 12.180575692 Calling exit ...