Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_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.001154/0.001154, 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.001194/0.001194, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.165/1.165, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001841/0.001841, allocations: 290.2 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.998/0.998, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 100.6 kB / 0.5946 GB, free: 28.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1849, allocations: 86.97 MB / 0.6795 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PowerLaw): time 0.4142/0.5991, allocations: 190.4 MB / 0.8655 GB, free: 416 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005151/0.6043, allocations: 4.075 MB / 0.8694 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003765/0.6047, allocations: 13.75 kB / 0.8694 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009334/0.6056, allocations: 397 kB / 0.8698 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00243/0.6081, allocations: 1.442 MB / 0.8712 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002364/0.6105, allocations: 1.247 MB / 0.8724 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001661/0.6122, allocations: 2.349 MB / 0.8747 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008186/0.613, allocations: 0.8757 MB / 0.8756 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008853/0.6139, allocations: 0.8641 MB / 0.8764 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007508/0.6146, allocations: 0.8805 MB / 0.8773 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.6148, allocations: 77.66 kB / 0.8774 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001982/0.6167, allocations: 1.573 MB / 0.8789 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002624/0.617, allocations: 328.9 kB / 0.8792 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003975/0.6174, allocations: 0.5006 MB / 0.8797 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001533/0.619, allocations: 1.707 MB / 0.8814 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.619, allocations: 0 / 0.8814 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of FrontEnd: time 6.32e-07/0.619, allocations: 4 kB / 0.8814 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.619, allocations: 0 / 0.8814 GB, free: 5.367 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.002592/0.6216, allocations: 1.457 MB / 0.8828 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.6216, allocations: 9.406 kB / 0.8828 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001113/0.6218, allocations: 90.23 kB / 0.8829 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001421/0.6232, allocations: 240.1 kB / 0.8831 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006874/0.6239, allocations: 0.5849 MB / 0.8837 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.6239, allocations: 40.66 kB / 0.8837 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.78e-05/0.624, allocations: 52.64 kB / 0.8838 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.6253, allocations: 0.9645 MB / 0.8847 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.6253, allocations: 1.969 kB / 0.8847 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-05/0.6254, allocations: 22 kB / 0.8848 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.414e-05/0.6254, allocations: 30.22 kB / 0.8848 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.6267, allocations: 0.9384 MB / 0.8857 GB, free: 2.406 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.004344/0.6311, allocations: 4.251 MB / 0.8899 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000816/0.6319, allocations: 0.6052 MB / 0.8904 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006507/0.6326, allocations: 0.5122 MB / 0.8909 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008465/0.6334, allocations: 0.8796 MB / 0.8918 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.6334, allocations: 37.91 kB / 0.8918 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001437/0.6349, allocations: 443.8 kB / 0.8923 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=50): time 1.974e-06/0.6349, allocations: 0 / 0.8923 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of matching and sorting (n=50): time 0.01591/0.6508, allocations: 3.831 MB / 0.896 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.6509, allocations: 59.84 kB / 0.8961 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007257/0.6516, allocations: 0.7116 MB / 0.8968 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.784e-05/0.6516, allocations: 37.64 kB / 0.8968 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/0.6519, allocations: 320.6 kB / 0.8971 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.652, allocations: 181.4 kB / 0.8973 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002326/0.6522, allocations: 154 kB / 0.8974 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.521e-05/0.6523, allocations: 326 kB / 0.8977 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005995/0.6529, allocations: 396.9 kB / 0.8981 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006403/0.6536, allocations: 493.5 kB / 0.8986 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.6549, allocations: 0.9219 MB / 0.8995 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.6549, allocations: 0 / 0.8995 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01035/0.6653, allocations: 2.556 MB / 0.902 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.6653, allocations: 8.125 kB / 0.902 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.6653, allocations: 4 kB / 0.902 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008871/0.6742, allocations: 1.728 MB / 0.9037 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003697/0.6746, allocations: 91.81 kB / 0.9038 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01063/0.6852, allocations: 6.665 MB / 0.9103 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006584/0.6859, allocations: 27.98 kB / 0.9103 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.348e-05/0.686, allocations: 47.92 kB / 0.9103 GB, free: 10.59 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.0002857/0.6862, allocations: 210.3 kB / 0.9105 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.6864, allocations: 82.97 kB / 0.9106 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004627/0.691, allocations: 1.739 MB / 0.9123 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.6911, allocations: 8 kB / 0.9123 GB, free: 8.531 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.6911, allocations: 0 / 0.9123 GB, free: 8.531 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-06/0.6911, allocations: 7.984 kB / 0.9123 GB, free: 8.523 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00511/0.6962, allocations: 2.538 MB / 0.9148 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.6962, allocations: 0 / 0.9148 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003798/0.6966, allocations: 88.08 kB / 0.9149 GB, free: 5.816 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003046/0.6997, allocations: 0.8057 MB / 0.9157 GB, free: 5.004 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-05/0.6997, allocations: 23.92 kB / 0.9157 GB, free: 4.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005499/0.7052, allocations: 4.469 MB / 0.9201 GB, free: 256 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.7052, allocations: 11.92 kB / 0.9201 GB, free: 244 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004666/0.7099, allocations: 2.143 MB / 0.9222 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002783/0.7102, allocations: 239.9 kB / 0.9224 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.7103, allocations: 15.98 kB / 0.9224 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005215/0.7108, allocations: 27.98 kB / 0.9224 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.711, allocations: 48.81 kB / 0.9225 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.511e-05/0.711, allocations: 19.98 kB / 0.9225 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004953/0.7115, allocations: 0.5029 MB / 0.923 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7115, allocations: 0 / 0.923 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007325/0.7123, allocations: 291.7 kB / 0.9233 GB, free: 12.91 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.005179/0.7175, allocations: 2.817 MB / 0.926 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002947/0.7204, allocations: 1.46 MB / 0.9275 GB, free: 8.555 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.7204, allocations: 3.938 kB / 0.9275 GB, free: 8.551 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001547/0.722, allocations: 0.9147 MB / 0.9284 GB, free: 7.609 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/0.7237, allocations: 439 kB / 0.9288 GB, free: 7.184 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02644/0.7502, allocations: 10.9 MB / 0.9394 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.7506, allocations: 0.9789 MB / 0.9404 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005451/0.7512, allocations: 170.6 kB / 0.9405 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003421/0.7515, allocations: 283.3 kB / 0.9408 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of SimCode: time 1.282e-06/0.7515, allocations: 0 / 0.9408 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.687/3.438, allocations: 28.35 MB / 0.9685 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003812/3.439, allocations: 267.8 kB / 0.9687 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.837/7.275, allocations: 0 / 0.9687 GB, free: 14.36 MB / 0.6856 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_PowerLaw.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)