Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.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.OneEffectiveAirLeakageArea,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",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.001498/0.001498, allocations: 108 kB / 15.61 MB, free: 148 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.001155/0.001155, allocations: 194.1 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002256/0.002256, allocations: 286.5 kB / 290.7 MB, free: 1.965 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.936/0.936, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003047/0.003048, allocations: 100.7 kB / 0.5953 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.161, allocations: 86.98 MB / 0.6803 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea): time 0.4689/0.6299, allocations: 188.4 MB / 0.8642 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009443/0.6394, allocations: 6.077 MB / 0.8702 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.6408, allocations: 34.66 kB / 0.8702 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001353/0.6422, allocations: 0.5146 MB / 0.8707 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004431/0.6466, allocations: 1.89 MB / 0.8726 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002336/0.649, allocations: 0.9462 MB / 0.8735 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002997/0.652, allocations: 2.484 MB / 0.8759 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001105/0.6531, allocations: 0.7739 MB / 0.8767 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001546/0.6547, allocations: 0.8484 MB / 0.8775 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001694/0.6564, allocations: 0.7951 MB / 0.8783 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000199/0.6566, allocations: 88.66 kB / 0.8784 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00306/0.6597, allocations: 1.582 MB / 0.8799 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004365/0.6601, allocations: 376.2 kB / 0.8803 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008087/0.6609, allocations: 0.5482 MB / 0.8808 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002934/0.6639, allocations: 1.908 MB / 0.8827 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.6639, allocations: 0 / 0.8827 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6639, allocations: 0 / 0.8827 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.968e-05/0.664, allocations: 0 / 0.8827 GB, free: 4.555 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002406/0.6664, allocations: 1.39 MB / 0.884 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.6664, allocations: 9.719 kB / 0.884 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001459/0.6666, allocations: 109.1 kB / 0.8841 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002157/0.6687, allocations: 316.3 kB / 0.8844 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.6701, allocations: 0.7386 MB / 0.8852 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.342e-05/0.6701, allocations: 51.03 kB / 0.8852 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.6703, allocations: 64.69 kB / 0.8853 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/0.6716, allocations: 0.7963 MB / 0.886 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.6717, allocations: 3.938 kB / 0.886 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-05/0.6717, allocations: 27.09 kB / 0.8861 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.736e-05/0.6718, allocations: 30.59 kB / 0.8861 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/0.6729, allocations: 0.6401 MB / 0.8867 GB, free: 1.789 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.004263/0.6772, allocations: 3.383 MB / 0.89 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009767/0.6782, allocations: 0.499 MB / 0.8905 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004923/0.6787, allocations: 290.2 kB / 0.8908 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007396/0.6795, allocations: 0.6725 MB / 0.8915 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.6795, allocations: 41.75 kB / 0.8915 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=51): time 3.076e-06/0.6795, allocations: 0 / 0.8915 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of matching and sorting (n=51): time 0.001885/0.6814, allocations: 0.7711 MB / 0.8922 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.6815, allocations: 56.91 kB / 0.8923 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007733/0.6823, allocations: 0.5988 MB / 0.8929 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.603e-05/0.6824, allocations: 36.48 kB / 0.8929 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002599/0.6826, allocations: 391.6 kB / 0.8933 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/0.6828, allocations: 181.6 kB / 0.8935 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.683, allocations: 98.31 kB / 0.8936 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.6831, allocations: 384.1 kB / 0.8939 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003948/0.6835, allocations: 207.9 kB / 0.8941 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004788/0.684, allocations: 286.5 kB / 0.8944 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008864/0.6849, allocations: 0.5075 MB / 0.8949 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.6849, allocations: 4 kB / 0.8949 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001186/0.6861, allocations: 0.6191 MB / 0.8955 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.6862, allocations: 4 kB / 0.8955 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.6862, allocations: 4 kB / 0.8955 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.6862, allocations: 4 kB / 0.8955 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005972/0.6868, allocations: 131.7 kB / 0.8956 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.578e-05/0.6868, allocations: 12.09 kB / 0.8956 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008118/0.6876, allocations: 43.58 kB / 0.8957 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-05/0.6877, allocations: 16 kB / 0.8957 GB, free: 10.09 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (62): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003966/0.6881, allocations: 258.3 kB / 0.896 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/0.6883, allocations: 75.16 kB / 0.896 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.6894, allocations: 0.5909 MB / 0.8966 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.6895, allocations: 12 kB / 0.8966 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.6895, allocations: 7.922 kB / 0.8966 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009593/0.6904, allocations: 0.8067 MB / 0.8974 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002477/0.6929, allocations: 1.554 MB / 0.8989 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.6929, allocations: 0 / 0.8989 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007931/0.6937, allocations: 159.7 kB / 0.8991 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.6938, allocations: 4 kB / 0.8991 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.254e-05/0.6938, allocations: 12 kB / 0.8991 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.6938, allocations: 8.094 kB / 0.8991 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.6938, allocations: 0.9375 kB / 0.8991 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.6954, allocations: 0.9433 MB / 0.9 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003551/0.6957, allocations: 220 kB / 0.9002 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.6959, allocations: 14.06 kB / 0.9002 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006019/0.6965, allocations: 23.97 kB / 0.9003 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.361e-05/0.6966, allocations: 36.39 kB / 0.9003 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.915e-05/0.6966, allocations: 16 kB / 0.9003 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004852/0.6971, allocations: 427 kB / 0.9007 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6971, allocations: 4 kB / 0.9007 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007588/0.6979, allocations: 271.4 kB / 0.901 GB, free: 4.465 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,cra.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 (51): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002063/0.7, allocations: 1.589 MB / 0.9025 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001155/0.7011, allocations: 0.5795 MB / 0.9031 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.7011, allocations: 320 / 0.9031 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004392/0.7016, allocations: 278.2 kB / 0.9034 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002244/0.7038, allocations: 493.7 kB / 0.9038 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00842/0.7123, allocations: 6.173 MB / 0.9099 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006214/0.7129, allocations: 1.028 MB / 0.9109 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000729/0.7137, allocations: 182.1 kB / 0.911 GB, free: 9.988 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004103/0.7141, allocations: 307.3 kB / 0.9113 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of SimCode: time 5.81e-07/0.7141, allocations: 0 / 0.9113 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04606/0.7602, allocations: 21.82 MB / 0.9327 GB, free: 4.254 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.688/8.448, allocations: 11.86 kB / 0.9327 GB, free: 4.242 MB / 0.6387 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 2.88 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1)