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.001282/0.001282, allocations: 107.7 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.001393/0.001393, allocations: 216.2 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.459/1.459, allocations: 230.6 MB / 252.8 MB, free: 8.977 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.8701/0.8701, allocations: 134 MB / 442.8 MB, free: 11.31 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.002012/0.002012, allocations: 70.23 kB / 0.6134 GB, free: 8.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1526, allocations: 85.85 MB / 0.6973 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.5736/0.7262, allocations: 196.2 MB / 0.8889 GB, free: 4.121 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.006873/0.733, allocations: 4.028 MB / 0.8928 GB, free: 84 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008058/0.7339, allocations: 27.81 kB / 0.8929 GB, free: 56 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001515/0.7354, allocations: 489 kB / 0.8933 GB, free: 15.57 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004139/0.7395, allocations: 1.598 MB / 0.8949 GB, free: 13.97 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003591/0.7431, allocations: 1.378 MB / 0.8962 GB, free: 12.6 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002574/0.7457, allocations: 1.647 MB / 0.8978 GB, free: 10.95 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001285/0.747, allocations: 0.8534 MB / 0.8987 GB, free: 10.07 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001742/0.7487, allocations: 0.9657 MB / 0.8996 GB, free: 9.105 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001382/0.7501, allocations: 0.9267 MB / 0.9005 GB, free: 8.176 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001957/0.7503, allocations: 100 kB / 0.9006 GB, free: 8.078 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002814/0.7531, allocations: 1.387 MB / 0.902 GB, free: 6.688 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004436/0.7535, allocations: 370.9 kB / 0.9023 GB, free: 6.324 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000707/0.7542, allocations: 0.5172 MB / 0.9028 GB, free: 5.805 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002607/0.7568, allocations: 1.678 MB / 0.9045 GB, free: 4.125 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.7569, allocations: 0 / 0.9045 GB, free: 4.125 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7569, allocations: 0 / 0.9045 GB, free: 4.125 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.915e-05/0.7569, allocations: 0 / 0.9045 GB, free: 4.125 MB / 0.67 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.003022/0.7599, allocations: 1.268 MB / 0.9057 GB, free: 2.801 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.7599, allocations: 9.109 kB / 0.9057 GB, free: 2.793 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001661/0.7601, allocations: 90.52 kB / 0.9058 GB, free: 2.695 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/0.7618, allocations: 249.2 kB / 0.906 GB, free: 2.453 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.7629, allocations: 0.6194 MB / 0.9066 GB, free: 1.793 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.837e-05/0.7629, allocations: 41 kB / 0.9067 GB, free: 1.754 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.763, allocations: 51.98 kB / 0.9067 GB, free: 1.703 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001812/0.7649, allocations: 0.9999 MB / 0.9077 GB, free: 0.6289 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/0.7649, allocations: 11.89 kB / 0.9077 GB, free: 0.6172 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.828e-05/0.765, allocations: 24 kB / 0.9077 GB, free: 0.5938 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.143e-05/0.765, allocations: 35.92 kB / 0.9078 GB, free: 0.5586 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/0.7669, allocations: 1.003 MB / 0.9088 GB, free: 15.55 MB / 0.6856 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.005904/0.7728, allocations: 4.122 MB / 0.9128 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.774, allocations: 0.568 MB / 0.9133 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008685/0.7748, allocations: 489.9 kB / 0.9138 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00119/0.776, allocations: 0.8783 MB / 0.9147 GB, free: 9.145 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.7761, allocations: 43 kB / 0.9147 GB, free: 9.094 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002515/0.7786, allocations: 0.6283 MB / 0.9153 GB, free: 8.465 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=50): time 2.624e-06/0.7786, allocations: 0 / 0.9153 GB, free: 8.465 MB / 0.6856 GB Notification: Performance of matching and sorting (n=50): time 0.01994/0.7985, allocations: 3.841 MB / 0.9191 GB, free: 4.57 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/0.7986, allocations: 59.84 kB / 0.9191 GB, free: 4.496 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.7998, allocations: 0.7155 MB / 0.9198 GB, free: 3.773 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001388/0.7999, allocations: 29.7 kB / 0.9199 GB, free: 3.738 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002922/0.8002, allocations: 317 kB / 0.9202 GB, free: 3.426 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/0.8004, allocations: 194.3 kB / 0.9203 GB, free: 3.234 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003063/0.8007, allocations: 150.1 kB / 0.9205 GB, free: 3.082 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.8009, allocations: 326 kB / 0.9208 GB, free: 2.758 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007396/0.8016, allocations: 396.9 kB / 0.9212 GB, free: 2.371 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008333/0.8025, allocations: 485.5 kB / 0.9216 GB, free: 1.867 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001687/0.8042, allocations: 0.9219 MB / 0.9225 GB, free: 0.918 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.8042, allocations: 4 kB / 0.9225 GB, free: 0.9141 MB / 0.6856 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01273/0.8169, allocations: 2.546 MB / 0.925 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.8169, allocations: 8 kB / 0.925 GB, free: 14.35 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.8169, allocations: 0 / 0.925 GB, free: 14.35 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01052/0.8275, allocations: 1.738 MB / 0.9267 GB, free: 12.6 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005209/0.828, allocations: 91.88 kB / 0.9268 GB, free: 12.51 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01438/0.8424, allocations: 7.134 MB / 0.9338 GB, free: 5.09 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008707/0.8432, allocations: 24.05 kB / 0.9338 GB, free: 5.066 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.8433, allocations: 43.94 kB / 0.9338 GB, free: 5.023 MB / 0.7012 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.0004171/0.8437, allocations: 213.6 kB / 0.9341 GB, free: 4.805 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002141/0.844, allocations: 91.42 kB / 0.9341 GB, free: 4.715 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005685/0.8496, allocations: 1.727 MB / 0.9358 GB, free: 2.98 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.8497, allocations: 4 kB / 0.9358 GB, free: 2.977 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.8497, allocations: 7.938 kB / 0.9358 GB, free: 2.969 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.8497, allocations: 7.984 kB / 0.9358 GB, free: 2.961 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006569/0.8562, allocations: 2.524 MB / 0.9383 GB, free: 360 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.8563, allocations: 192 / 0.9383 GB, free: 360 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000502/0.8568, allocations: 95.88 kB / 0.9384 GB, free: 264 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003851/0.8606, allocations: 0.8059 MB / 0.9392 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.495e-05/0.8607, allocations: 12 kB / 0.9392 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00788/0.8686, allocations: 4.863 MB / 0.9439 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.8686, allocations: 0 / 0.9439 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005938/0.8745, allocations: 2.144 MB / 0.946 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004938/0.875, allocations: 232.5 kB / 0.9463 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.8751, allocations: 15.98 kB / 0.9463 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006239/0.8758, allocations: 23.98 kB / 0.9463 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001976/0.8759, allocations: 60.38 kB / 0.9464 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001225/0.8761, allocations: 16.56 kB / 0.9464 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006942/0.8768, allocations: 0.5029 MB / 0.9469 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8768, allocations: 0 / 0.9469 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009625/0.8777, allocations: 287.8 kB / 0.9471 GB, free: 6.965 MB / 0.7169 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.006313/0.884, allocations: 2.774 MB / 0.9499 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003812/0.8879, allocations: 1.417 MB / 0.9512 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.8879, allocations: 4.062 kB / 0.9512 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001985/0.8898, allocations: 0.8597 MB / 0.9521 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002211/0.8921, allocations: 462 kB / 0.9525 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03287/0.9249, allocations: 10.43 MB / 0.9627 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006545/0.9256, allocations: 0.9789 MB / 0.9637 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006442/0.9262, allocations: 166.6 kB / 0.9638 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004475/0.9267, allocations: 283.3 kB / 0.9641 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of SimCode: time 9.02e-07/0.9267, allocations: 0 / 0.9641 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07242/0.9991, allocations: 29.76 MB / 0.9932 GB, free: 7.871 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.89, allocations: 6.188 kB / 0.9932 GB, free: 7.867 MB / 0.7637 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.5999478270096] Failed to read output from testmodel.py, exit status != 0: 13.001195094009745 13.02739515 12.265616688 Calling exit ...