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.001173/0.001173, 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.001316/0.001317, allocations: 192.7 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 1.341/1.341, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.903/0.903, allocations: 135.1 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 59.78 kB / 0.5054 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1502, allocations: 80.93 MB / 0.5845 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.4136/0.5639, allocations: 192.6 MB / 0.7726 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006005/0.57, allocations: 4.012 MB / 0.7765 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009612/0.5709, allocations: 19.88 kB / 0.7765 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001397/0.5724, allocations: 473 kB / 0.7769 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003988/0.5764, allocations: 1.528 MB / 0.7784 GB, free: 6.195 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003506/0.5799, allocations: 1.349 MB / 0.7798 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002231/0.5822, allocations: 1.641 MB / 0.7814 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00126/0.5835, allocations: 0.9565 MB / 0.7823 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001811/0.5853, allocations: 0.9111 MB / 0.7832 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001431/0.5867, allocations: 0.8565 MB / 0.784 GB, free: 468 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003512/0.5871, allocations: 96 kB / 0.7841 GB, free: 372 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002637/0.5897, allocations: 1.305 MB / 0.7854 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005841/0.5903, allocations: 351 kB / 0.7857 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008067/0.5912, allocations: 0.5094 MB / 0.7862 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002629/0.5938, allocations: 1.628 MB / 0.7878 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5938, allocations: 0 / 0.7878 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5938, allocations: 0 / 0.7878 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.329e-05/0.5939, allocations: 0 / 0.7878 GB, free: 12.57 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.003174/0.597, allocations: 1.46 MB / 0.7892 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.5971, allocations: 12.03 kB / 0.7892 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001373/0.5972, allocations: 86.52 kB / 0.7893 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001602/0.5988, allocations: 246.7 kB / 0.7896 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009699/0.5998, allocations: 0.5798 MB / 0.7901 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.945e-05/0.5999, allocations: 37 kB / 0.7902 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.6, allocations: 55.98 kB / 0.7902 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.6015, allocations: 0.9531 MB / 0.7911 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.6015, allocations: 11.94 kB / 0.7912 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-05/0.6016, allocations: 16 kB / 0.7912 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.381e-05/0.6017, allocations: 35.98 kB / 0.7912 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001501/0.6032, allocations: 0.9406 MB / 0.7921 GB, free: 7.977 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.00529/0.6085, allocations: 4.259 MB / 0.7963 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009481/0.6094, allocations: 0.6044 MB / 0.7969 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007394/0.6102, allocations: 0.5182 MB / 0.7974 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001045/0.6112, allocations: 0.8861 MB / 0.7982 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.6113, allocations: 42.06 kB / 0.7983 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001468/0.6128, allocations: 411.2 kB / 0.7987 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=50): time 4.839e-06/0.6128, allocations: 4 kB / 0.7987 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of matching and sorting (n=50): time 0.01768/0.6305, allocations: 3.837 MB / 0.8024 GB, free: 13 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.6305, allocations: 63.78 kB / 0.8025 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008848/0.6314, allocations: 0.7078 MB / 0.8032 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.572e-05/0.6315, allocations: 33.7 kB / 0.8032 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/0.6318, allocations: 320.6 kB / 0.8035 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.6319, allocations: 173.5 kB / 0.8037 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002451/0.6322, allocations: 154 kB / 0.8038 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.917e-05/0.6323, allocations: 326 kB / 0.8041 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006103/0.6329, allocations: 392.9 kB / 0.8045 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006982/0.6336, allocations: 485.5 kB / 0.805 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.6351, allocations: 0.9219 MB / 0.8059 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.6351, allocations: 0 / 0.8059 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01133/0.6464, allocations: 2.564 MB / 0.8084 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.6465, allocations: 4 kB / 0.8084 GB, free: 6.781 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.6465, allocations: 4 kB / 0.8084 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00961/0.6561, allocations: 1.738 MB / 0.8101 GB, free: 5.031 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004682/0.6566, allocations: 91.86 kB / 0.8102 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01248/0.6691, allocations: 7.145 MB / 0.8172 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008309/0.6699, allocations: 16.06 kB / 0.8172 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/0.6701, allocations: 51.92 kB / 0.8172 GB, free: 13.45 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.0003876/0.6705, allocations: 211 kB / 0.8174 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002553/0.6707, allocations: 82.97 kB / 0.8175 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005107/0.6759, allocations: 1.738 MB / 0.8192 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.6759, allocations: 8 kB / 0.8192 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/0.6759, allocations: 9.047 kB / 0.8192 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.6759, allocations: 3.938 kB / 0.8192 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006128/0.682, allocations: 2.544 MB / 0.8217 GB, free: 8.754 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.6821, allocations: 0 / 0.8217 GB, free: 8.754 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004539/0.6825, allocations: 87.89 kB / 0.8218 GB, free: 8.668 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003437/0.686, allocations: 0.8109 MB / 0.8226 GB, free: 7.852 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.491e-05/0.6861, allocations: 12 kB / 0.8226 GB, free: 7.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006612/0.6927, allocations: 4.862 MB / 0.8273 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.6927, allocations: 0 / 0.8273 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005324/0.6981, allocations: 2.159 MB / 0.8294 GB, free: 0.5 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004145/0.6985, allocations: 228 kB / 0.8297 GB, free: 264 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001607/0.6987, allocations: 16 kB / 0.8297 GB, free: 248 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006033/0.6993, allocations: 19.98 kB / 0.8297 GB, free: 228 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/0.6995, allocations: 68.3 kB / 0.8298 GB, free: 160 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.778e-05/0.6995, allocations: 23.94 kB / 0.8298 GB, free: 136 kB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005978/0.7001, allocations: 0.4913 MB / 0.8303 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7001, allocations: 0 / 0.8303 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008954/0.701, allocations: 295.8 kB / 0.8305 GB, free: 15.35 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.005763/0.7068, allocations: 2.789 MB / 0.8333 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003679/0.7105, allocations: 1.519 MB / 0.8348 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.7105, allocations: 0 / 0.8348 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001831/0.7123, allocations: 0.9277 MB / 0.8357 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002232/0.7146, allocations: 464.2 kB / 0.8361 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03045/0.7451, allocations: 10.68 MB / 0.8465 GB, free: 14.75 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006591/0.7458, allocations: 0.9905 MB / 0.8475 GB, free: 13.73 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007884/0.7466, allocations: 158.6 kB / 0.8477 GB, free: 13.57 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004499/0.747, allocations: 283.3 kB / 0.8479 GB, free: 13.29 MB / 0.67 GB Notification: Performance of SimCode: time 1.313e-06/0.747, allocations: 0 / 0.8479 GB, free: 13.29 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2964/1.043, allocations: 29.42 MB / 0.8767 GB, free: 218 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.728/10.77, allocations: 10.91 kB / 0.8767 GB, free: 217.9 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_PowerLaw.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)