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.001168/0.001168, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001129/0.001129, allocations: 192.2 kB / 16.13 MB, free: 6.656 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.188/1.188, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8392/0.8392, allocations: 135.1 MB / 425.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 67.5 kB / 0.5048 GB, free: 5.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1276, allocations: 80.93 MB / 0.5838 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.366/0.4936, allocations: 190.4 MB / 0.7697 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005086/0.4988, allocations: 4.048 MB / 0.7737 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003377/0.4991, allocations: 23.88 kB / 0.7737 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009412/0.5001, allocations: 393.9 kB / 0.7741 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002476/0.5025, allocations: 1.451 MB / 0.7755 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002405/0.505, allocations: 1.239 MB / 0.7767 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001839/0.5068, allocations: 2.358 MB / 0.779 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008787/0.5077, allocations: 0.8761 MB / 0.7799 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009501/0.5087, allocations: 0.8603 MB / 0.7807 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008224/0.5095, allocations: 0.8838 MB / 0.7816 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001307/0.5096, allocations: 76 kB / 0.7816 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002137/0.5118, allocations: 1.574 MB / 0.7832 GB, free: 1.156 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002851/0.5121, allocations: 335 kB / 0.7835 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004175/0.5125, allocations: 0.4977 MB / 0.784 GB, free: 336 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001606/0.5141, allocations: 1.702 MB / 0.7856 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5141, allocations: 7.922 kB / 0.7857 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.52e-07/0.5141, allocations: 0 / 0.7857 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.036e-06/0.5141, allocations: 4 kB / 0.7857 GB, free: 14.61 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.002753/0.5169, allocations: 1.441 MB / 0.7871 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.5169, allocations: 12.03 kB / 0.7871 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001201/0.5171, allocations: 94.5 kB / 0.7872 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00147/0.5185, allocations: 238.7 kB / 0.7874 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007153/0.5193, allocations: 0.5876 MB / 0.788 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.5193, allocations: 37 kB / 0.788 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.5194, allocations: 52 kB / 0.7881 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.5208, allocations: 0.9648 MB / 0.789 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.5208, allocations: 4 kB / 0.789 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.375e-05/0.5209, allocations: 23.94 kB / 0.789 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.085e-05/0.5209, allocations: 31.92 kB / 0.7891 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/0.5223, allocations: 0.9445 MB / 0.79 GB, free: 10.02 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.004602/0.5269, allocations: 4.251 MB / 0.7941 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008888/0.5278, allocations: 0.5978 MB / 0.7947 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007/0.5286, allocations: 0.5135 MB / 0.7952 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008837/0.5295, allocations: 0.8783 MB / 0.7961 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.5295, allocations: 38.94 kB / 0.7961 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001516/0.531, allocations: 439.2 kB / 0.7965 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=50): time 1.873e-06/0.531, allocations: 0 / 0.7965 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of matching and sorting (n=50): time 0.01688/0.5479, allocations: 3.841 MB / 0.8003 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.548, allocations: 59.78 kB / 0.8003 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000717/0.5487, allocations: 0.7039 MB / 0.801 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.102e-05/0.5487, allocations: 37.7 kB / 0.8011 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/0.549, allocations: 320.6 kB / 0.8014 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/0.5491, allocations: 173.5 kB / 0.8015 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002434/0.5494, allocations: 154 kB / 0.8017 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.01e-05/0.5494, allocations: 326 kB / 0.802 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000605/0.5501, allocations: 401.7 kB / 0.8024 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006717/0.5507, allocations: 489.5 kB / 0.8028 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.5521, allocations: 0.9141 MB / 0.8037 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.5521, allocations: 0 / 0.8037 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01089/0.563, allocations: 2.556 MB / 0.8062 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.563, allocations: 8.125 kB / 0.8062 GB, free: 8.824 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.5631, allocations: 4 kB / 0.8062 GB, free: 8.82 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009311/0.5724, allocations: 1.734 MB / 0.8079 GB, free: 7.078 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003945/0.5728, allocations: 101.7 kB / 0.808 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01124/0.584, allocations: 6.661 MB / 0.8145 GB, free: 48 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006701/0.5847, allocations: 31.89 kB / 0.8146 GB, free: 16 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.533e-05/0.5848, allocations: 47.92 kB / 0.8146 GB, free: 15.97 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.0003083/0.5851, allocations: 209.7 kB / 0.8148 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.5853, allocations: 79.06 kB / 0.8149 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004789/0.5901, allocations: 1.743 MB / 0.8166 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.5901, allocations: 4 kB / 0.8166 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.5901, allocations: 4 kB / 0.8166 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.5901, allocations: 3.984 kB / 0.8166 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005363/0.5955, allocations: 2.54 MB / 0.8191 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.5955, allocations: 0 / 0.8191 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000407/0.5959, allocations: 87.89 kB / 0.8192 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00327/0.5992, allocations: 0.8065 MB / 0.8199 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.748e-05/0.5993, allocations: 16 kB / 0.82 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005726/0.605, allocations: 4.483 MB / 0.8243 GB, free: 5.629 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.605, allocations: 4 kB / 0.8243 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004853/0.6099, allocations: 2.151 MB / 0.8264 GB, free: 3.43 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002943/0.6102, allocations: 243.9 kB / 0.8267 GB, free: 3.172 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.6103, allocations: 12 kB / 0.8267 GB, free: 3.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005412/0.6109, allocations: 27.98 kB / 0.8267 GB, free: 3.133 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.611, allocations: 52.42 kB / 0.8268 GB, free: 3.082 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.455e-05/0.6111, allocations: 16 kB / 0.8268 GB, free: 3.066 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005272/0.6116, allocations: 0.5029 MB / 0.8273 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6116, allocations: 0 / 0.8273 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008037/0.6124, allocations: 283.8 kB / 0.8275 GB, free: 2.289 MB / 0.6387 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.005405/0.6178, allocations: 2.816 MB / 0.8303 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003118/0.6209, allocations: 1.465 MB / 0.8317 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.621, allocations: 8.188 kB / 0.8317 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001602/0.6226, allocations: 0.9107 MB / 0.8326 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/0.6244, allocations: 433.2 kB / 0.833 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02837/0.6528, allocations: 10.92 MB / 0.8437 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004581/0.6533, allocations: 0.9827 MB / 0.8447 GB, free: 500 kB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005703/0.6539, allocations: 162.8 kB / 0.8448 GB, free: 332 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003667/0.6542, allocations: 283.3 kB / 0.8451 GB, free: 48 kB / 0.6544 GB Notification: Performance of SimCode: time 4.11e-07/0.6542, allocations: 4 kB / 0.8451 GB, free: 44 kB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9209/1.575, allocations: 28.31 MB / 0.8727 GB, free: 220.1 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001591/1.575, allocations: 250.6 kB / 0.873 GB, free: 219.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.259/3.834, allocations: 3.938 kB / 0.873 GB, free: 219.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)