Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009659/0.0009659, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.000913/0.000913, allocations: 208.1 kB / 22.24 MB, free: 3.59 MB / 13.93 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 0.9675/0.9675, allocations: 230.6 MB / 256 MB, free: 9.613 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7642/0.7642, allocations: 203.8 MB / 0.5042 GB, free: 10.43 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IDEAS_dev_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.0009315/0.0009315, allocations: 71.03 kB / 0.7182 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4802/0.4812, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.1515/0.6327, allocations: 170.5 MB / 0.9843 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.005265/0.6379, allocations: 3.955 MB / 0.9882 GB, free: 6.59 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007133/0.6386, allocations: 27.75 kB / 0.9882 GB, free: 6.562 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001096/0.6397, allocations: 461.1 kB / 0.9887 GB, free: 6.109 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002861/0.6426, allocations: 1.633 MB / 0.9902 GB, free: 4.469 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002815/0.6454, allocations: 1.415 MB / 0.9916 GB, free: 3.059 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.001819/0.6472, allocations: 1.682 MB / 0.9933 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001056/0.6483, allocations: 0.8577 MB / 0.9941 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001696/0.65, allocations: 1.133 MB / 0.9952 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009941/0.651, allocations: 0.8642 MB / 0.9961 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001945/0.6512, allocations: 104 kB / 0.9962 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002084/0.6533, allocations: 1.13 MB / 0.9973 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003244/0.6536, allocations: 378.9 kB / 0.9976 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0004233/0.654, allocations: 478 kB / 0.9981 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002242/0.6562, allocations: 1.694 MB / 0.9997 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.6563, allocations: 7.984 kB / 0.9997 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.325e-06/0.6563, allocations: 0 / 0.9997 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.952e-05/0.6563, allocations: 0 / 0.9997 GB, free: 10.71 MB / 0.7761 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.002084/0.6584, allocations: 1.204 MB / 1.001 GB, free: 9.473 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.6584, allocations: 16.02 kB / 1.001 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.925e-05/0.6585, allocations: 90.52 kB / 1.001 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/0.6602, allocations: 434.8 kB / 1.001 GB, free: 8.934 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007716/0.661, allocations: 0.5772 MB / 1.002 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.285e-05/0.661, allocations: 36.98 kB / 1.002 GB, free: 8.293 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.951e-05/0.6611, allocations: 55.89 kB / 1.002 GB, free: 8.238 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.6624, allocations: 1.183 MB / 1.003 GB, free: 6.969 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.6625, allocations: 8 kB / 1.003 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.444e-05/0.6625, allocations: 16 kB / 1.003 GB, free: 6.945 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.433e-05/0.6626, allocations: 31.94 kB / 1.003 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/0.6641, allocations: 1.202 MB / 1.004 GB, free: 5.711 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003984/0.6681, allocations: 3.944 MB / 1.008 GB, free: 1.645 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.6694, allocations: 0.8426 MB / 1.009 GB, free: 0.793 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007465/0.6701, allocations: 0.576 MB / 1.01 GB, free: 220 kB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003351/0.6704, allocations: 84.34 kB / 1.01 GB, free: 136 kB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.6705, allocations: 39 kB / 1.01 GB, free: 88 kB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001331/0.6718, allocations: 0.6283 MB / 1.01 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=50): time 4.358e-06/0.6718, allocations: 3.938 kB / 1.01 GB, free: 15.45 MB / 0.7917 GB Notification: Performance of matching and sorting (n=50): time 0.01025/0.6821, allocations: 3.972 MB / 1.014 GB, free: 11.46 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.6821, allocations: 55.84 kB / 1.014 GB, free: 11.39 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008929/0.683, allocations: 0.7312 MB / 1.015 GB, free: 10.65 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001671/0.6832, allocations: 29.7 kB / 1.015 GB, free: 10.61 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.6833, allocations: 328.9 kB / 1.015 GB, free: 10.29 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/0.6835, allocations: 190.3 kB / 1.016 GB, free: 10.1 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/0.6837, allocations: 154 kB / 1.016 GB, free: 9.945 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.7e-05/0.6838, allocations: 326 kB / 1.016 GB, free: 9.621 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006683/0.6845, allocations: 0.4889 MB / 1.017 GB, free: 9.133 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007069/0.6852, allocations: 0.6329 MB / 1.017 GB, free: 8.457 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/0.6865, allocations: 1.098 MB / 1.018 GB, free: 7.332 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.6865, allocations: 0 / 1.018 GB, free: 7.332 MB / 0.7917 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.006373/0.6929, allocations: 2.752 MB / 1.021 GB, free: 4.566 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.6929, allocations: 8 kB / 1.021 GB, free: 4.559 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.6929, allocations: 0 / 1.021 GB, free: 4.559 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004761/0.6977, allocations: 1.73 MB / 1.023 GB, free: 2.82 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004761/0.6981, allocations: 123.8 kB / 1.023 GB, free: 2.699 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007547/0.7057, allocations: 6.871 MB / 1.029 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007209/0.7064, allocations: 48.14 kB / 1.029 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.268e-05/0.7065, allocations: 51.98 kB / 1.03 GB, free: 11.49 MB / 0.8073 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.0003361/0.7068, allocations: 209.8 kB / 1.03 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.707, allocations: 91.38 kB / 1.03 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00311/0.7101, allocations: 1.912 MB / 1.032 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.7101, allocations: 11.94 kB / 1.032 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.7101, allocations: 4 kB / 1.032 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.7101, allocations: 3.984 kB / 1.032 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004006/0.7141, allocations: 2.666 MB / 1.034 GB, free: 6.496 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.7141, allocations: 4 kB / 1.034 GB, free: 6.492 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003973/0.7145, allocations: 120 kB / 1.034 GB, free: 6.375 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001701/0.7162, allocations: 0.8014 MB / 1.035 GB, free: 5.566 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.207e-05/0.7163, allocations: 19.98 kB / 1.035 GB, free: 5.547 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004284/0.7206, allocations: 4.594 MB / 1.04 GB, free: 0.7227 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.7206, allocations: 4 kB / 1.04 GB, free: 0.7188 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003856/0.7244, allocations: 2.462 MB / 1.042 GB, free: 14.21 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004392/0.7249, allocations: 179.3 kB / 1.042 GB, free: 14.04 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.262e-05/0.7249, allocations: 12 kB / 1.042 GB, free: 14.03 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004405/0.7254, allocations: 47.94 kB / 1.042 GB, free: 13.98 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.7255, allocations: 56.28 kB / 1.042 GB, free: 13.93 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.741e-05/0.7256, allocations: 23.98 kB / 1.042 GB, free: 13.9 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0006004/0.7262, allocations: 0.5068 MB / 1.043 GB, free: 13.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7262, allocations: 0 / 1.043 GB, free: 13.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0008364/0.727, allocations: 295.9 kB / 1.043 GB, free: 13.11 MB / 0.823 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 (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%), (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.004087/0.7311, allocations: 3.084 MB / 1.046 GB, free: 9.973 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002738/0.7338, allocations: 1.607 MB / 1.048 GB, free: 8.336 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.748e-06/0.7338, allocations: 0 / 1.048 GB, free: 8.336 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001295/0.7351, allocations: 0.9529 MB / 1.049 GB, free: 7.359 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.7366, allocations: 473.5 kB / 1.049 GB, free: 6.91 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01916/0.7558, allocations: 11.13 MB / 1.06 GB, free: 11.55 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.7561, allocations: 397.3 kB / 1.06 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0005943/0.7567, allocations: 170.7 kB / 1.061 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003293/0.757, allocations: 287.3 kB / 1.061 GB, free: 10.68 MB / 0.8386 GB Notification: Performance of SimCode: time 1.443e-06/0.757, allocations: 4 kB / 1.061 GB, free: 10.67 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05104/0.808, allocations: 35.43 MB / 1.095 GB, free: 7.758 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.699/8.507, allocations: 4.938 kB / 1.095 GB, free: 7.758 MB / 0.8698 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Airflow_Multizone_Examples_PowerLaw.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.494177674874663] Failed to read output from testmodel.py, exit status != 0: 8.603414363693446 8.617009494 7.958036184 Calling exit ...