Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IDEAS_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.001137/0.001137, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001133/0.001132, allocations: 190.8 kB / 16.25 MB, free: 6.625 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.189/1.189, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6807/0.6807, allocations: 132.2 MB / 422.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001187, allocations: 59.44 kB / 0.5013 GB, free: 9.043 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1229, allocations: 80.2 MB / 0.5797 GB, free: 9.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.3538/0.4768, allocations: 190.1 MB / 0.7654 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005022/0.4818, allocations: 3.999 MB / 0.7693 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000303/0.4821, allocations: 19.88 kB / 0.7693 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009161/0.4831, allocations: 421.9 kB / 0.7697 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002484/0.4856, allocations: 1.433 MB / 0.7711 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002374/0.488, allocations: 1.268 MB / 0.7723 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001416/0.4894, allocations: 1.644 MB / 0.7739 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009088/0.4903, allocations: 0.9363 MB / 0.7748 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009446/0.4913, allocations: 0.9383 MB / 0.7758 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008242/0.4921, allocations: 0.8838 MB / 0.7766 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001203/0.4922, allocations: 96 kB / 0.7767 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001616/0.4938, allocations: 1.36 MB / 0.778 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002896/0.4942, allocations: 354.9 kB / 0.7784 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003981/0.4946, allocations: 0.5172 MB / 0.7789 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001528/0.4961, allocations: 1.729 MB / 0.7806 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.4961, allocations: 4 kB / 0.7806 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4961, allocations: 0 / 0.7806 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.487e-06/0.4961, allocations: 4 kB / 0.7806 GB, free: 5.461 MB / 0.5919 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.00263/0.4988, allocations: 1.447 MB / 0.782 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.4988, allocations: 8.031 kB / 0.782 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001135/0.4989, allocations: 90.52 kB / 0.7821 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001418/0.5003, allocations: 242.7 kB / 0.7823 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006977/0.5011, allocations: 0.5837 MB / 0.7829 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.5011, allocations: 37 kB / 0.7829 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.5012, allocations: 48 kB / 0.783 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.5025, allocations: 0.9757 MB / 0.7839 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.5025, allocations: 7.844 kB / 0.7839 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.45e-05/0.5026, allocations: 24 kB / 0.7839 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.749e-05/0.5027, allocations: 35.92 kB / 0.784 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/0.504, allocations: 0.9367 MB / 0.7849 GB, free: 0.8633 MB / 0.5919 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.004636/0.5087, allocations: 4.251 MB / 0.789 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009678/0.5096, allocations: 0.5978 MB / 0.7896 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006734/0.5103, allocations: 0.5213 MB / 0.7901 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008633/0.5112, allocations: 0.8783 MB / 0.791 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.5112, allocations: 39 kB / 0.791 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001572/0.5128, allocations: 457.7 kB / 0.7915 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=50): time 1.873e-06/0.5128, allocations: 0 / 0.7915 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of matching and sorting (n=50): time 0.01676/0.5296, allocations: 3.841 MB / 0.7952 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.5296, allocations: 63.72 kB / 0.7953 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007158/0.5303, allocations: 0.7039 MB / 0.796 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.588e-05/0.5304, allocations: 37.7 kB / 0.796 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.5306, allocations: 324.6 kB / 0.7963 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.5308, allocations: 169.4 kB / 0.7965 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002382/0.531, allocations: 154.1 kB / 0.7966 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.597e-05/0.5311, allocations: 326 kB / 0.7969 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005917/0.5317, allocations: 396.9 kB / 0.7973 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006654/0.5324, allocations: 481.5 kB / 0.7978 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/0.5337, allocations: 0.9258 MB / 0.7987 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5337, allocations: 0 / 0.7987 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01085/0.5446, allocations: 2.556 MB / 0.8012 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.5446, allocations: 8 kB / 0.8012 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.5446, allocations: 0 / 0.8012 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009328/0.554, allocations: 1.745 MB / 0.8029 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003885/0.5544, allocations: 91.88 kB / 0.803 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01181/0.5662, allocations: 7.149 MB / 0.81 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005994/0.5668, allocations: 27.98 kB / 0.81 GB, free: 6.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.37e-05/0.5669, allocations: 47.92 kB / 0.81 GB, free: 6.293 MB / 0.6231 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.0002726/0.5672, allocations: 211.2 kB / 0.8102 GB, free: 6.078 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/0.5673, allocations: 79.06 kB / 0.8103 GB, free: 6 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004847/0.5722, allocations: 1.742 MB / 0.812 GB, free: 4.246 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.5722, allocations: 7.938 kB / 0.812 GB, free: 4.238 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.5722, allocations: 4 kB / 0.812 GB, free: 4.234 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.5722, allocations: 7.984 kB / 0.812 GB, free: 4.227 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005331/0.5776, allocations: 2.528 MB / 0.8145 GB, free: 1.613 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.5776, allocations: 0 / 0.8145 GB, free: 1.613 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003958/0.578, allocations: 96.02 kB / 0.8146 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003241/0.5812, allocations: 0.8067 MB / 0.8154 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-05/0.5813, allocations: 16 kB / 0.8154 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00597/0.5873, allocations: 4.855 MB / 0.8201 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.5873, allocations: 0 / 0.8201 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004784/0.5921, allocations: 2.159 MB / 0.8222 GB, free: 9.355 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002804/0.5923, allocations: 235.9 kB / 0.8225 GB, free: 9.105 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.5925, allocations: 12 kB / 0.8225 GB, free: 9.094 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005533/0.593, allocations: 35.97 kB / 0.8225 GB, free: 9.059 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.5932, allocations: 52.38 kB / 0.8226 GB, free: 9.008 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.602e-05/0.5932, allocations: 19.69 kB / 0.8226 GB, free: 8.992 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005098/0.5938, allocations: 0.5068 MB / 0.8231 GB, free: 8.488 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5938, allocations: 0 / 0.8231 GB, free: 8.488 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007102/0.5945, allocations: 283.8 kB / 0.8233 GB, free: 8.211 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.005331/0.5998, allocations: 2.809 MB / 0.8261 GB, free: 5.367 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003263/0.6031, allocations: 1.519 MB / 0.8276 GB, free: 3.824 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6031, allocations: 0 / 0.8276 GB, free: 3.824 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001613/0.6047, allocations: 0.9148 MB / 0.8285 GB, free: 2.883 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001805/0.6065, allocations: 463.4 kB / 0.8289 GB, free: 2.453 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0279/0.6345, allocations: 10.91 MB / 0.8396 GB, free: 7.379 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/0.6349, allocations: 0.975 MB / 0.8405 GB, free: 6.379 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005412/0.6355, allocations: 170.6 kB / 0.8407 GB, free: 6.207 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003522/0.6358, allocations: 283.3 kB / 0.8409 GB, free: 5.93 MB / 0.6544 GB Notification: Performance of SimCode: time 2.71e-07/0.6358, allocations: 0 / 0.8409 GB, free: 5.93 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.444/3.08, allocations: 29.31 MB / 0.8696 GB, free: 225.4 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001554/3.08, allocations: 241.8 kB / 0.8698 GB, free: 225.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.821/5.901, allocations: 0 / 0.8698 GB, free: 225.2 MB / 0.67 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_PowerLaw.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)