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.001068/0.001068, allocations: 108 kB / 15.6 MB, free: 132 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.001046/0.001046, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.318/1.318, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002132/0.002132, allocations: 278.6 kB / 290.7 MB, free: 2.027 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9352/0.9352, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 97.62 kB / 0.5953 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.145, allocations: 86.98 MB / 0.6803 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea): time 0.4603/0.6053, allocations: 188.4 MB / 0.8642 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009407/0.6147, allocations: 6.078 MB / 0.8702 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001361/0.6161, allocations: 37.03 kB / 0.8702 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001577/0.6177, allocations: 0.5074 MB / 0.8707 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005218/0.623, allocations: 1.897 MB / 0.8726 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002446/0.6255, allocations: 0.9425 MB / 0.8735 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002962/0.6284, allocations: 2.495 MB / 0.8759 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/0.6296, allocations: 0.7618 MB / 0.8767 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001538/0.6312, allocations: 0.8588 MB / 0.8775 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001696/0.6329, allocations: 0.7765 MB / 0.8783 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002199/0.6331, allocations: 87.91 kB / 0.8783 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003043/0.6361, allocations: 1.586 MB / 0.8799 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004474/0.6366, allocations: 372.2 kB / 0.8802 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008257/0.6374, allocations: 0.5555 MB / 0.8808 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002976/0.6404, allocations: 1.899 MB / 0.8826 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.6404, allocations: 6.719 kB / 0.8827 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6404, allocations: 0 / 0.8827 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.882e-05/0.6405, allocations: 3.938 kB / 0.8827 GB, free: 4.582 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.002146/0.6426, allocations: 1.376 MB / 0.884 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.6427, allocations: 18.33 kB / 0.884 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001227/0.6428, allocations: 108.9 kB / 0.8841 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002004/0.6448, allocations: 316.1 kB / 0.8844 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.6459, allocations: 0.7468 MB / 0.8852 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.485e-05/0.6459, allocations: 48.84 kB / 0.8852 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.349e-05/0.646, allocations: 67 kB / 0.8853 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.6472, allocations: 0.7876 MB / 0.886 GB, free: 2.16 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.6473, allocations: 6.594 kB / 0.886 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.486e-05/0.6473, allocations: 29.08 kB / 0.8861 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-05/0.6474, allocations: 30.75 kB / 0.8861 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.6484, allocations: 0.6364 MB / 0.8867 GB, free: 1.82 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.003517/0.652, allocations: 3.391 MB / 0.89 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00081/0.6528, allocations: 0.4939 MB / 0.8905 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004233/0.6532, allocations: 290.9 kB / 0.8908 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005775/0.6538, allocations: 0.6656 MB / 0.8914 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.6538, allocations: 47.5 kB / 0.8915 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=51): time 2.074e-06/0.6539, allocations: 0 / 0.8915 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=51): time 0.001575/0.6554, allocations: 0.764 MB / 0.8922 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.6555, allocations: 60.56 kB / 0.8923 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006313/0.6561, allocations: 0.6052 MB / 0.8929 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.052e-05/0.6562, allocations: 38.3 kB / 0.8929 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/0.6564, allocations: 385.7 kB / 0.8933 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/0.6566, allocations: 183.5 kB / 0.8935 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.6567, allocations: 95.09 kB / 0.8935 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.6569, allocations: 381.9 kB / 0.8939 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003697/0.6573, allocations: 207.8 kB / 0.8941 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004271/0.6577, allocations: 281.3 kB / 0.8944 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008099/0.6585, allocations: 0.5075 MB / 0.8949 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.6585, allocations: 0 / 0.8949 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001029/0.6596, allocations: 0.6232 MB / 0.8955 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.6596, allocations: 8 kB / 0.8955 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.6596, allocations: 0.6875 kB / 0.8955 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.6596, allocations: 4 kB / 0.8955 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005864/0.6602, allocations: 127.8 kB / 0.8956 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.6602, allocations: 7.938 kB / 0.8956 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006816/0.6609, allocations: 47.58 kB / 0.8957 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.661, allocations: 20.03 kB / 0.8957 GB, free: 10.12 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.0003225/0.6613, allocations: 258.3 kB / 0.8959 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.6614, allocations: 73.59 kB / 0.896 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.6625, allocations: 0.5941 MB / 0.8966 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.6625, allocations: 15.81 kB / 0.8966 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.6625, allocations: 7.922 kB / 0.8966 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009222/0.6635, allocations: 0.8068 MB / 0.8974 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002115/0.6656, allocations: 1.554 MB / 0.8989 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.6656, allocations: 4.094 kB / 0.8989 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007765/0.6664, allocations: 155.8 kB / 0.8991 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.6664, allocations: 4 kB / 0.8991 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.66e-05/0.6665, allocations: 12 kB / 0.8991 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.6665, allocations: 4 kB / 0.8991 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.6665, allocations: 3.984 kB / 0.8991 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.6682, allocations: 0.9511 MB / 0.9 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003408/0.6685, allocations: 216 kB / 0.9002 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/0.6687, allocations: 16 kB / 0.9002 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007562/0.6695, allocations: 29.59 kB / 0.9003 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.148e-05/0.6696, allocations: 28.39 kB / 0.9003 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.945e-05/0.6696, allocations: 20 kB / 0.9003 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004916/0.6701, allocations: 427 kB / 0.9007 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.6701, allocations: 0 / 0.9007 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007575/0.6709, allocations: 275.4 kB / 0.901 GB, free: 4.484 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.001998/0.6729, allocations: 1.594 MB / 0.9025 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001207/0.6741, allocations: 0.5795 MB / 0.9031 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.6741, allocations: 4 kB / 0.9031 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004177/0.6745, allocations: 266.8 kB / 0.9034 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002198/0.6768, allocations: 496.1 kB / 0.9038 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008193/0.685, allocations: 6.169 MB / 0.9099 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005246/0.6855, allocations: 1.02 MB / 0.9109 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007261/0.6862, allocations: 182.1 kB / 0.911 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003967/0.6866, allocations: 311.3 kB / 0.9113 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of SimCode: time 7.21e-07/0.6867, allocations: 4 kB / 0.9113 GB, free: 9.711 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04444/0.7311, allocations: 21.83 MB / 0.9326 GB, free: 4.281 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.641/8.372, allocations: 10.42 kB / 0.9327 GB, free: 4.273 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1)