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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007992/0.007992, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001257/0.001257, allocations: 192.6 kB / 16.67 MB, free: 5.52 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.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7837/0.7837, allocations: 135.1 MB / 425.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 59.53 kB / 0.5851 GB, free: 22.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1236, allocations: 80.92 MB / 0.6641 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.488/0.6117, allocations: 192.6 MB / 0.8522 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.005615/0.6173, allocations: 4.028 MB / 0.8562 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004421/0.6178, allocations: 20.47 kB / 0.8562 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.6188, allocations: 475.8 kB / 0.8567 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002849/0.6217, allocations: 1.531 MB / 0.8582 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002811/0.6246, allocations: 1.348 MB / 0.8595 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001623/0.6262, allocations: 1.642 MB / 0.8611 GB, free: 5.086 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.6273, allocations: 0.9452 MB / 0.862 GB, free: 4.441 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.6284, allocations: 0.9303 MB / 0.8629 GB, free: 3.93 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009415/0.6293, allocations: 0.85 MB / 0.8637 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001343/0.6295, allocations: 100 kB / 0.8638 GB, free: 3.062 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002052/0.6315, allocations: 1.309 MB / 0.8651 GB, free: 1.75 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003188/0.6319, allocations: 351 kB / 0.8654 GB, free: 1.406 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004681/0.6323, allocations: 0.5094 MB / 0.8659 GB, free: 0.8945 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001814/0.6342, allocations: 1.636 MB / 0.8675 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.6342, allocations: 3.984 kB / 0.8675 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6342, allocations: 0 / 0.8675 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.363e-05/0.6342, allocations: 0 / 0.8675 GB, free: 15.25 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.002828/0.637, allocations: 1.445 MB / 0.8689 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.6371, allocations: 9.109 kB / 0.869 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001235/0.6372, allocations: 91.39 kB / 0.869 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00147/0.6387, allocations: 242.8 kB / 0.8693 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000872/0.6396, allocations: 0.6109 MB / 0.8699 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.296e-05/0.6396, allocations: 37 kB / 0.8699 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.6397, allocations: 55.94 kB / 0.87 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.6411, allocations: 0.9629 MB / 0.8709 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.6412, allocations: 7.984 kB / 0.8709 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.548e-05/0.6412, allocations: 16 kB / 0.8709 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.404e-05/0.6413, allocations: 35.88 kB / 0.871 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/0.6428, allocations: 0.9367 MB / 0.8719 GB, free: 10.64 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.005001/0.6478, allocations: 4.262 MB / 0.876 GB, free: 6.211 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009342/0.6487, allocations: 0.5978 MB / 0.8766 GB, free: 5.602 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007527/0.6495, allocations: 0.5148 MB / 0.8771 GB, free: 5.086 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009605/0.6505, allocations: 0.8822 MB / 0.878 GB, free: 4.02 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.6505, allocations: 35 kB / 0.878 GB, free: 3.977 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001376/0.6519, allocations: 419.1 kB / 0.8784 GB, free: 3.566 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=50): time 2.204e-06/0.6519, allocations: 0 / 0.8784 GB, free: 3.566 MB / 0.6387 GB Notification: Performance of matching and sorting (n=50): time 0.01782/0.6697, allocations: 3.837 MB / 0.8822 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.6698, allocations: 59.84 kB / 0.8822 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008849/0.6707, allocations: 0.7039 MB / 0.8829 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.549e-05/0.6708, allocations: 37.7 kB / 0.8829 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000242/0.671, allocations: 320.6 kB / 0.8833 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/0.6712, allocations: 185.3 kB / 0.8834 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002509/0.6714, allocations: 154 kB / 0.8836 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.6716, allocations: 322 kB / 0.8839 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006506/0.6722, allocations: 392.9 kB / 0.8843 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007438/0.673, allocations: 493.5 kB / 0.8847 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001464/0.6745, allocations: 0.918 MB / 0.8856 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.6745, allocations: 0 / 0.8856 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01164/0.6861, allocations: 2.56 MB / 0.8881 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.6862, allocations: 8.031 kB / 0.8881 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.6862, allocations: 4 kB / 0.8881 GB, free: 9.441 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01013/0.6963, allocations: 1.735 MB / 0.8898 GB, free: 7.699 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004559/0.6968, allocations: 87.86 kB / 0.8899 GB, free: 7.613 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0129/0.7097, allocations: 7.142 MB / 0.8969 GB, free: 184 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007663/0.7105, allocations: 20.05 kB / 0.8969 GB, free: 164 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.7106, allocations: 47.94 kB / 0.897 GB, free: 116 kB / 0.6544 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.0003819/0.711, allocations: 205.7 kB / 0.8971 GB, free: 15.9 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002218/0.7112, allocations: 87.05 kB / 0.8972 GB, free: 15.82 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00519/0.7164, allocations: 1.745 MB / 0.8989 GB, free: 14.06 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.7164, allocations: 8 kB / 0.8989 GB, free: 14.05 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.7165, allocations: 4 kB / 0.8989 GB, free: 14.05 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.7165, allocations: 3.984 kB / 0.899 GB, free: 14.04 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006005/0.7225, allocations: 2.544 MB / 0.9014 GB, free: 11.42 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.7225, allocations: 0 / 0.9014 GB, free: 11.42 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004387/0.723, allocations: 83.89 kB / 0.9015 GB, free: 11.34 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00355/0.7265, allocations: 0.8095 MB / 0.9023 GB, free: 10.52 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-05/0.7266, allocations: 15.94 kB / 0.9023 GB, free: 10.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009513/0.7361, allocations: 4.856 MB / 0.9071 GB, free: 5.371 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.7361, allocations: 96 / 0.9071 GB, free: 5.371 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00848/0.7446, allocations: 2.159 MB / 0.9092 GB, free: 3.168 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007272/0.7454, allocations: 232.1 kB / 0.9094 GB, free: 2.922 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000253/0.7457, allocations: 12 kB / 0.9094 GB, free: 2.91 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009878/0.7467, allocations: 23.97 kB / 0.9094 GB, free: 2.887 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002599/0.747, allocations: 52.44 kB / 0.9095 GB, free: 2.836 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.194e-05/0.7471, allocations: 20.88 kB / 0.9095 GB, free: 2.816 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009253/0.748, allocations: 0.4951 MB / 0.91 GB, free: 2.324 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.11e-07/0.748, allocations: 0 / 0.91 GB, free: 2.324 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001563/0.7496, allocations: 299.7 kB / 0.9103 GB, free: 2.031 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.009286/0.7589, allocations: 2.794 MB / 0.913 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003839/0.7628, allocations: 1.465 MB / 0.9144 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.7628, allocations: 0 / 0.9144 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002012/0.7648, allocations: 0.9149 MB / 0.9153 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002339/0.7672, allocations: 456.8 kB / 0.9158 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03106/0.7983, allocations: 10.45 MB / 0.926 GB, free: 1.684 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005754/0.7989, allocations: 0.9789 MB / 0.9269 GB, free: 0.6758 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006265/0.7995, allocations: 158.6 kB / 0.9271 GB, free: 0.5156 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004074/0.7999, allocations: 287.3 kB / 0.9273 GB, free: 240 kB / 0.6856 GB Notification: Performance of SimCode: time 5.41e-07/0.7999, allocations: 0 / 0.9273 GB, free: 240 kB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06046/0.8604, allocations: 29.65 MB / 0.9563 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/11.36, allocations: 9.188 kB / 0.9563 GB, free: 2.879 MB / 0.7169 GB (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)