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.001724/0.001724, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002088/0.002088, allocations: 195.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.478/2.478, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.6/1.6, allocations: 135.1 MB / 425.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002491/0.002491, allocations: 68.36 kB / 0.5054 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3024, allocations: 80.92 MB / 0.5845 GB, free: 4.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.8591/1.162, allocations: 192.6 MB / 0.7726 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0115/1.173, allocations: 4.015 MB / 0.7765 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/1.175, allocations: 15.94 kB / 0.7765 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002424/1.177, allocations: 480.9 kB / 0.777 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006884/1.184, allocations: 1.52 MB / 0.7784 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006297/1.19, allocations: 1.349 MB / 0.7798 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003724/1.194, allocations: 1.641 MB / 0.7814 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002039/1.196, allocations: 0.9586 MB / 0.7823 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002585/1.199, allocations: 0.9151 MB / 0.7832 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001828/1.201, allocations: 0.8604 MB / 0.784 GB, free: 492 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004382/1.201, allocations: 92 kB / 0.7841 GB, free: 400 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003924/1.205, allocations: 1.309 MB / 0.7854 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008614/1.206, allocations: 343 kB / 0.7857 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001406/1.207, allocations: 0.5173 MB / 0.7862 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004822/1.212, allocations: 1.624 MB / 0.7878 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/1.212, allocations: 0 / 0.7878 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.016e-06/1.212, allocations: 0 / 0.7878 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.853e-05/1.212, allocations: 0 / 0.7878 GB, free: 12.59 MB / 0.6075 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.005493/1.218, allocations: 1.452 MB / 0.7892 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.203e-05/1.218, allocations: 8.031 kB / 0.7892 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002854/1.218, allocations: 90.52 kB / 0.7893 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002911/1.221, allocations: 242.7 kB / 0.7896 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/1.223, allocations: 0.5954 MB / 0.7901 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.014e-05/1.223, allocations: 40.56 kB / 0.7902 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002173/1.223, allocations: 48 kB / 0.7902 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002593/1.226, allocations: 0.957 MB / 0.7912 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.652e-05/1.226, allocations: 3.984 kB / 0.7912 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001543/1.226, allocations: 31.98 kB / 0.7912 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.681e-05/1.226, allocations: 27.94 kB / 0.7912 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002725/1.229, allocations: 0.9406 MB / 0.7921 GB, free: 8.004 MB / 0.6075 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.009889/1.239, allocations: 4.263 MB / 0.7963 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/1.241, allocations: 0.5931 MB / 0.7969 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00137/1.242, allocations: 0.5244 MB / 0.7974 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001561/1.244, allocations: 0.8744 MB / 0.7983 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.945e-05/1.244, allocations: 46.88 kB / 0.7983 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002787/1.246, allocations: 415.2 kB / 0.7987 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=50): time 7.804e-06/1.246, allocations: 0 / 0.7987 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=50): time 0.03803/1.285, allocations: 3.837 MB / 0.8024 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.768e-05/1.285, allocations: 59.78 kB / 0.8025 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001962/1.287, allocations: 0.7078 MB / 0.8032 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002352/1.287, allocations: 37.7 kB / 0.8032 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004551/1.287, allocations: 316.6 kB / 0.8035 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000424/1.288, allocations: 173.5 kB / 0.8037 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005881/1.288, allocations: 154 kB / 0.8038 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001925/1.289, allocations: 322 kB / 0.8041 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/1.29, allocations: 408.8 kB / 0.8045 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001577/1.292, allocations: 481.5 kB / 0.805 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003134/1.295, allocations: 0.918 MB / 0.8059 GB, free: 9.398 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/1.295, allocations: 3.938 kB / 0.8059 GB, free: 9.395 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.02136/1.316, allocations: 2.56 MB / 0.8084 GB, free: 6.82 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.446e-05/1.316, allocations: 4 kB / 0.8084 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/1.316, allocations: 4.125 kB / 0.8084 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01705/1.333, allocations: 1.739 MB / 0.8101 GB, free: 5.066 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008679/1.334, allocations: 99.8 kB / 0.8102 GB, free: 4.969 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0234/1.358, allocations: 7.146 MB / 0.8172 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/1.359, allocations: 20.05 kB / 0.8172 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002787/1.359, allocations: 43.94 kB / 0.8172 GB, free: 13.47 MB / 0.6387 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.0007129/1.36, allocations: 207 kB / 0.8174 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004678/1.361, allocations: 90.95 kB / 0.8175 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01037/1.371, allocations: 1.736 MB / 0.8192 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/1.371, allocations: 4 kB / 0.8192 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-05/1.371, allocations: 4 kB / 0.8192 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.403e-05/1.371, allocations: 3.984 kB / 0.8192 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/1.384, allocations: 2.548 MB / 0.8217 GB, free: 8.785 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.681e-05/1.384, allocations: 4 kB / 0.8217 GB, free: 8.781 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/1.385, allocations: 91.83 kB / 0.8218 GB, free: 8.691 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007284/1.392, allocations: 0.804 MB / 0.8226 GB, free: 7.883 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002133/1.393, allocations: 17.12 kB / 0.8226 GB, free: 7.867 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.014/1.407, allocations: 4.865 MB / 0.8274 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/1.407, allocations: 4 kB / 0.8274 GB, free: 2.727 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01151/1.418, allocations: 2.151 MB / 0.8295 GB, free: 0.5273 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008779/1.419, allocations: 228 kB / 0.8297 GB, free: 292 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003346/1.42, allocations: 12 kB / 0.8297 GB, free: 280 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/1.421, allocations: 27.97 kB / 0.8297 GB, free: 252 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003179/1.421, allocations: 52.44 kB / 0.8298 GB, free: 200 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/1.421, allocations: 20 kB / 0.8298 GB, free: 180 kB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00139/1.423, allocations: 0.5029 MB / 0.8303 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of sort global known variables: time 5.61e-07/1.423, allocations: 3.938 kB / 0.8303 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001897/1.425, allocations: 283.8 kB / 0.8306 GB, free: 15.39 MB / 0.6544 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.01244/1.437, allocations: 2.808 MB / 0.8333 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.007884/1.445, allocations: 1.523 MB / 0.8348 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/1.445, allocations: 0 / 0.8348 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00416/1.449, allocations: 0.9109 MB / 0.8357 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005022/1.454, allocations: 464.7 kB / 0.8361 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0648/1.519, allocations: 10.68 MB / 0.8465 GB, free: 14.77 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/1.52, allocations: 0.9827 MB / 0.8475 GB, free: 13.76 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001616/1.522, allocations: 162.6 kB / 0.8477 GB, free: 13.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008399/1.523, allocations: 283.3 kB / 0.8479 GB, free: 13.32 MB / 0.67 GB Notification: Performance of SimCode: time 1.703e-06/1.523, allocations: 0 / 0.8479 GB, free: 13.32 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.606/2.129, allocations: 29.41 MB / 0.8767 GB, free: 218.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.33/18.46, allocations: 19.89 kB / 0.8767 GB, free: 218.4 MB / 0.67 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)