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.005648/0.005648, allocations: 97.11 kB / 15.73 MB, free: 6.047 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.001419/0.001419, allocations: 194.5 kB / 16.68 MB, free: 5.973 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.248/1.248, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00211/0.00211, allocations: 278.1 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8995/0.8995, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 91.84 kB / 0.681 GB, free: 0 / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.147, allocations: 86.98 MB / 0.7659 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PowerLaw): time 0.4829/0.6299, allocations: 192.6 MB / 0.954 GB, free: 2.426 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.006161/0.6361, allocations: 4.033 MB / 0.9579 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008985/0.637, allocations: 19.88 kB / 0.958 GB, free: 14.37 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.6384, allocations: 489 kB / 0.9584 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003749/0.6423, allocations: 1.602 MB / 0.96 GB, free: 12.28 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003406/0.6457, allocations: 1.363 MB / 0.9613 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002313/0.648, allocations: 1.636 MB / 0.9629 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001349/0.6494, allocations: 0.951 MB / 0.9638 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001759/0.6512, allocations: 0.9424 MB / 0.9648 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001356/0.6525, allocations: 0.8604 MB / 0.9656 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003198/0.6529, allocations: 96 kB / 0.9657 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002632/0.6555, allocations: 1.317 MB / 0.967 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005226/0.6561, allocations: 347 kB / 0.9673 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008914/0.657, allocations: 0.5133 MB / 0.9678 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002928/0.6599, allocations: 1.646 MB / 0.9694 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6599, allocations: 0 / 0.9694 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6599, allocations: 0 / 0.9694 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.578e-05/0.66, allocations: 0 / 0.9694 GB, free: 2.582 MB / 0.7169 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.003362/0.6633, allocations: 1.479 MB / 0.9709 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.6634, allocations: 8.031 kB / 0.9709 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001688/0.6636, allocations: 91.27 kB / 0.971 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001557/0.6651, allocations: 243.2 kB / 0.9712 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.6662, allocations: 0.6233 MB / 0.9718 GB, free: 48 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.259e-05/0.6662, allocations: 33 kB / 0.9718 GB, free: 16 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.6664, allocations: 52.08 kB / 0.9719 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.6679, allocations: 0.9608 MB / 0.9728 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.6679, allocations: 4 kB / 0.9728 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.145e-05/0.668, allocations: 20 kB / 0.9728 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.451e-05/0.6681, allocations: 35.92 kB / 0.9729 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/0.6697, allocations: 0.9384 MB / 0.9738 GB, free: 13.93 MB / 0.7325 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.005521/0.6752, allocations: 4.259 MB / 0.978 GB, free: 9.504 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009723/0.6762, allocations: 0.6017 MB / 0.9785 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007608/0.677, allocations: 0.5135 MB / 0.979 GB, free: 8.375 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009653/0.6779, allocations: 0.8783 MB / 0.9799 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.678, allocations: 38.94 kB / 0.9799 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001428/0.6794, allocations: 431.4 kB / 0.9804 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=50): time 5.59e-06/0.6794, allocations: 0 / 0.9804 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of matching and sorting (n=50): time 0.01697/0.6964, allocations: 3.838 MB / 0.9841 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.6965, allocations: 63.78 kB / 0.9842 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.6975, allocations: 0.7077 MB / 0.9849 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001383/0.6977, allocations: 37.7 kB / 0.9849 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002563/0.698, allocations: 317 kB / 0.9852 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002489/0.6982, allocations: 190.3 kB / 0.9854 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003137/0.6985, allocations: 158.1 kB / 0.9855 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.6987, allocations: 322 kB / 0.9858 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006588/0.6993, allocations: 392.9 kB / 0.9862 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007398/0.7001, allocations: 493.5 kB / 0.9867 GB, free: 248 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/0.7016, allocations: 0.918 MB / 0.9876 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.7016, allocations: 0 / 0.9876 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01071/0.7123, allocations: 2.568 MB / 0.9901 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.7124, allocations: 8.125 kB / 0.9901 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.7124, allocations: 7.938 kB / 0.9901 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009145/0.7215, allocations: 1.722 MB / 0.9918 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004741/0.7221, allocations: 101.4 kB / 0.9919 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01244/0.7345, allocations: 7.144 MB / 0.9989 GB, free: 3.441 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007962/0.7353, allocations: 16.06 kB / 0.9989 GB, free: 3.426 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001714/0.7355, allocations: 52.78 kB / 0.9989 GB, free: 3.375 MB / 0.7481 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.0004394/0.736, allocations: 202.4 kB / 0.9991 GB, free: 3.168 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002831/0.7363, allocations: 87.48 kB / 0.9992 GB, free: 3.082 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00503/0.7413, allocations: 1.746 MB / 1.001 GB, free: 1.32 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.7413, allocations: 8 kB / 1.001 GB, free: 1.312 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/0.7414, allocations: 4 kB / 1.001 GB, free: 1.309 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.7414, allocations: 3.984 kB / 1.001 GB, free: 1.305 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005869/0.7473, allocations: 2.544 MB / 1.003 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.004e-06/0.7473, allocations: 0 / 1.003 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004364/0.7477, allocations: 87.89 kB / 1.003 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00321/0.751, allocations: 0.8094 MB / 1.004 GB, free: 13.78 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-05/0.751, allocations: 19.98 kB / 1.004 GB, free: 13.76 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006746/0.7578, allocations: 4.851 MB / 1.009 GB, free: 8.633 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.7578, allocations: 0 / 1.009 GB, free: 8.633 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005172/0.763, allocations: 2.151 MB / 1.011 GB, free: 6.438 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004806/0.7635, allocations: 236.5 kB / 1.011 GB, free: 6.188 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002019/0.7637, allocations: 20.88 kB / 1.011 GB, free: 6.168 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006485/0.7644, allocations: 19.98 kB / 1.011 GB, free: 6.148 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/0.7646, allocations: 52.42 kB / 1.011 GB, free: 6.098 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.213e-05/0.7646, allocations: 23.94 kB / 1.011 GB, free: 6.074 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0006951/0.7653, allocations: 0.499 MB / 1.012 GB, free: 5.582 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7654, allocations: 0 / 1.012 GB, free: 5.582 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009887/0.7663, allocations: 291.8 kB / 1.012 GB, free: 5.297 MB / 0.7637 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.005682/0.772, allocations: 2.805 MB / 1.015 GB, free: 2.449 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003505/0.7756, allocations: 1.473 MB / 1.016 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.7756, allocations: 0 / 1.016 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001887/0.7775, allocations: 0.9146 MB / 1.017 GB, free: 0 / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002211/0.7797, allocations: 472.9 kB / 1.018 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02962/0.8094, allocations: 10.46 MB / 1.028 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006039/0.81, allocations: 0.975 MB / 1.029 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0006551/0.8107, allocations: 162.6 kB / 1.029 GB, free: 3.746 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004324/0.8111, allocations: 287.3 kB / 1.029 GB, free: 3.465 MB / 0.7794 GB Notification: Performance of SimCode: time 2.024e-06/0.8111, allocations: 0 / 1.029 GB, free: 3.465 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06179/0.8729, allocations: 29.69 MB / 1.058 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/11.04, allocations: 17.44 kB / 1.058 GB, free: 6.184 MB / 0.8106 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_PowerLaw.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)