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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw") translateModel(IDEAS.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 106 kB / 16.41 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 187 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.247/1.247, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7531/0.7531, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 67.69 kB / 0.5863 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1513, allocations: 80.92 MB / 0.6653 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.5514/0.7028, allocations: 192.6 MB / 0.8534 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.006351/0.7092, allocations: 4.021 MB / 0.8573 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.7102, allocations: 20.38 kB / 0.8573 GB, free: 8.277 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.7117, allocations: 473.7 kB / 0.8578 GB, free: 7.891 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003802/0.7156, allocations: 1.541 MB / 0.8593 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003406/0.719, allocations: 1.347 MB / 0.8606 GB, free: 5.719 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002248/0.7212, allocations: 1.636 MB / 0.8622 GB, free: 4.797 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.7226, allocations: 0.9525 MB / 0.8631 GB, free: 4.145 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00172/0.7243, allocations: 0.9301 MB / 0.8641 GB, free: 3.637 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001455/0.7258, allocations: 0.8479 MB / 0.8649 GB, free: 2.82 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003698/0.7262, allocations: 96 kB / 0.865 GB, free: 2.727 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002787/0.7289, allocations: 1.305 MB / 0.8662 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005529/0.7295, allocations: 354.9 kB / 0.8666 GB, free: 1.07 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009141/0.7304, allocations: 0.5094 MB / 0.8671 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002846/0.7333, allocations: 1.636 MB / 0.8687 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.7333, allocations: 4 kB / 0.8687 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.833e-06/0.7333, allocations: 0 / 0.8687 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.458e-05/0.7334, allocations: 0 / 0.8687 GB, free: 14.91 MB / 0.6387 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.003257/0.7366, allocations: 1.452 MB / 0.8701 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.7367, allocations: 13.09 kB / 0.8701 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001636/0.7383, allocations: 230.8 kB / 0.8703 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.7394, allocations: 0.611 MB / 0.8709 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.689e-05/0.7394, allocations: 37 kB / 0.871 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.7395, allocations: 55.89 kB / 0.871 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.7411, allocations: 0.9648 MB / 0.872 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.7411, allocations: 7.938 kB / 0.872 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.979e-05/0.7412, allocations: 20 kB / 0.872 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.212e-05/0.7413, allocations: 27.98 kB / 0.872 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001449/0.7427, allocations: 0.9445 MB / 0.8729 GB, free: 10.39 MB / 0.6387 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.005073/0.7478, allocations: 4.251 MB / 0.8771 GB, free: 5.973 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008996/0.7487, allocations: 0.5997 MB / 0.8777 GB, free: 5.363 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000703/0.7494, allocations: 0.5181 MB / 0.8782 GB, free: 4.844 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000931/0.7504, allocations: 0.8744 MB / 0.879 GB, free: 3.785 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.7504, allocations: 39 kB / 0.8791 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001342/0.7518, allocations: 425.6 kB / 0.8795 GB, free: 3.324 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=50): time 3.847e-06/0.7518, allocations: 0 / 0.8795 GB, free: 3.324 MB / 0.6387 GB Notification: Performance of matching and sorting (n=50): time 0.01667/0.7685, allocations: 3.833 MB / 0.8832 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.7685, allocations: 59.78 kB / 0.8833 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009602/0.7695, allocations: 0.7116 MB / 0.884 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001098/0.7696, allocations: 41.69 kB / 0.884 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/0.7699, allocations: 316.6 kB / 0.8843 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/0.7701, allocations: 177.3 kB / 0.8845 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002494/0.7703, allocations: 154 kB / 0.8846 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.741e-05/0.7704, allocations: 326 kB / 0.8849 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006127/0.771, allocations: 396.9 kB / 0.8853 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006808/0.7717, allocations: 489.5 kB / 0.8858 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/0.7731, allocations: 0.9141 MB / 0.8867 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.7731, allocations: 0 / 0.8867 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01087/0.784, allocations: 2.56 MB / 0.8892 GB, free: 9.215 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.784, allocations: 11.98 kB / 0.8892 GB, free: 9.203 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.7841, allocations: 4 kB / 0.8892 GB, free: 9.199 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008985/0.7931, allocations: 1.73 MB / 0.8909 GB, free: 7.461 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004819/0.7936, allocations: 95.8 kB / 0.891 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01162/0.8052, allocations: 7.132 MB / 0.8979 GB, free: 15.94 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000802/0.806, allocations: 20.05 kB / 0.898 GB, free: 15.92 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/0.8062, allocations: 47.92 kB / 0.898 GB, free: 15.88 MB / 0.67 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.0004062/0.8066, allocations: 217.6 kB / 0.8982 GB, free: 15.65 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002534/0.8068, allocations: 75.06 kB / 0.8983 GB, free: 15.58 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0048/0.8117, allocations: 1.735 MB / 0.9 GB, free: 13.83 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.8117, allocations: 8 kB / 0.9 GB, free: 13.82 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.8117, allocations: 4 kB / 0.9 GB, free: 13.82 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.8117, allocations: 3.984 kB / 0.9 GB, free: 13.81 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005607/0.8173, allocations: 2.549 MB / 0.9025 GB, free: 11.18 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.8173, allocations: 0 / 0.9025 GB, free: 11.18 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004065/0.8177, allocations: 91.83 kB / 0.9026 GB, free: 11.09 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003213/0.821, allocations: 0.8022 MB / 0.9034 GB, free: 10.29 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.299e-05/0.821, allocations: 15.98 kB / 0.9034 GB, free: 10.27 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006091/0.8271, allocations: 4.867 MB / 0.9081 GB, free: 5.129 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.8271, allocations: 480 / 0.9081 GB, free: 5.129 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004895/0.832, allocations: 2.147 MB / 0.9102 GB, free: 2.938 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004074/0.8325, allocations: 228.4 kB / 0.9104 GB, free: 2.695 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/0.8326, allocations: 16 kB / 0.9105 GB, free: 2.68 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005759/0.8332, allocations: 23.98 kB / 0.9105 GB, free: 2.656 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.8334, allocations: 56.38 kB / 0.9105 GB, free: 2.602 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.755e-05/0.8334, allocations: 27.98 kB / 0.9106 GB, free: 2.574 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000612/0.834, allocations: 0.499 MB / 0.911 GB, free: 2.078 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8341, allocations: 0 / 0.911 GB, free: 2.078 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001027/0.8351, allocations: 295.7 kB / 0.9113 GB, free: 1.789 MB / 0.67 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.0005308/0.8356, allocations: 216.1 kB / 0.9115 GB, free: 1.578 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003319/0.839, allocations: 1.461 MB / 0.913 GB, free: 88 kB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.839, allocations: 4.25 kB / 0.913 GB, free: 84 kB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001613/0.8406, allocations: 0.9067 MB / 0.9139 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001811/0.8424, allocations: 466.2 kB / 0.9143 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002639/0.8451, allocations: 1.738 MB / 0.916 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000499/0.8456, allocations: 0.9867 MB / 0.917 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002044/0.8458, allocations: 71.42 kB / 0.917 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of SimCode: time 5.82e-07/0.8458, allocations: 0 / 0.917 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of Templates: time 0.02396/0.8698, allocations: 19.48 MB / 0.936 GB, free: 8.461 MB / 0.7012 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.makefile (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 & ./IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)