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.0051/0.0051, allocations: 100.1 kB / 15.73 MB, free: 6.012 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.001152/0.001152, allocations: 187 kB / 16.67 MB, free: 5.949 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002204/0.002204, allocations: 283 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 1.049/1.049, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 104.1 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.198, allocations: 86.97 MB / 0.7659 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea): time 0.6474/0.8455, allocations: 188.4 MB / 0.9499 GB, free: 6.715 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01022/0.8557, allocations: 6.089 MB / 0.9558 GB, free: 0.6133 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001658/0.8574, allocations: 35.81 kB / 0.9558 GB, free: 0.5781 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.8589, allocations: 0.5125 MB / 0.9563 GB, free: 64 kB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.005512/0.8645, allocations: 1.894 MB / 0.9582 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002547/0.867, allocations: 0.9585 MB / 0.9591 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003456/0.8705, allocations: 2.493 MB / 0.9616 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/0.8716, allocations: 0.7566 MB / 0.9623 GB, free: 9.934 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001604/0.8732, allocations: 0.8834 MB / 0.9632 GB, free: 9.047 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001584/0.8748, allocations: 0.7715 MB / 0.9639 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.875, allocations: 91.94 kB / 0.964 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003412/0.8784, allocations: 1.594 MB / 0.9656 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004255/0.8788, allocations: 363 kB / 0.9659 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007153/0.8796, allocations: 0.5522 MB / 0.9664 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003083/0.8826, allocations: 1.924 MB / 0.9683 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.8827, allocations: 0 / 0.9683 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8827, allocations: 0 / 0.9683 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.225e-05/0.8827, allocations: 0 / 0.9683 GB, free: 3.75 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002383/0.8851, allocations: 1.378 MB / 0.9697 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.8852, allocations: 12.03 kB / 0.9697 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001307/0.8853, allocations: 118.5 kB / 0.9698 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002106/0.8874, allocations: 318.9 kB / 0.9701 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.8887, allocations: 0.7845 MB / 0.9709 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.677e-05/0.8888, allocations: 49.31 kB / 0.9709 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.8889, allocations: 68 kB / 0.971 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.8902, allocations: 0.7784 MB / 0.9717 GB, free: 136 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.8902, allocations: 7.844 kB / 0.9717 GB, free: 128 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.392e-05/0.8903, allocations: 41.67 kB / 0.9718 GB, free: 88 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.168e-05/0.8904, allocations: 29.3 kB / 0.9718 GB, free: 60 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.8915, allocations: 0.6337 MB / 0.9724 GB, free: 15.42 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.004068/0.8956, allocations: 3.363 MB / 0.9757 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008762/0.8965, allocations: 0.4993 MB / 0.9762 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004499/0.8969, allocations: 293.5 kB / 0.9765 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006367/0.8976, allocations: 0.6731 MB / 0.9771 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.8976, allocations: 39 kB / 0.9772 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=51): time 2.554e-06/0.8976, allocations: 0 / 0.9772 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=51): time 0.001698/0.8993, allocations: 0.7753 MB / 0.9779 GB, free: 9.324 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.8994, allocations: 63.78 kB / 0.978 GB, free: 9.25 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007169/0.9001, allocations: 0.598 MB / 0.9786 GB, free: 8.641 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.089e-05/0.9002, allocations: 33.7 kB / 0.9786 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002899/0.9005, allocations: 388.2 kB / 0.979 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.9007, allocations: 189.2 kB / 0.9792 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/0.9008, allocations: 86.25 kB / 0.9792 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.901, allocations: 386.8 kB / 0.9796 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000389/0.9014, allocations: 205 kB / 0.9798 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000398/0.9018, allocations: 279.2 kB / 0.9801 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000812/0.9026, allocations: 0.5036 MB / 0.9806 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.9026, allocations: 4 kB / 0.9806 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001097/0.9037, allocations: 0.6191 MB / 0.9812 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.9038, allocations: 7.938 kB / 0.9812 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.9038, allocations: 4 kB / 0.9812 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.9038, allocations: 5.562 kB / 0.9812 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000607/0.9044, allocations: 132 kB / 0.9813 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.9044, allocations: 11.94 kB / 0.9813 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006516/0.9051, allocations: 43.58 kB / 0.9814 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.382e-05/0.9052, allocations: 16 kB / 0.9814 GB, free: 5.699 MB / 0.7325 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.0004347/0.9056, allocations: 254.3 kB / 0.9816 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/0.9058, allocations: 83.05 kB / 0.9817 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.9069, allocations: 0.6009 MB / 0.9823 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.907, allocations: 8 kB / 0.9823 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.907, allocations: 3.938 kB / 0.9823 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009189/0.9079, allocations: 0.8106 MB / 0.9831 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002312/0.9102, allocations: 1.546 MB / 0.9846 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.9102, allocations: 3.938 kB / 0.9846 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007804/0.911, allocations: 152.3 kB / 0.9848 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.911, allocations: 4 kB / 0.9848 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.034e-05/0.9111, allocations: 16.08 kB / 0.9848 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.9111, allocations: 8 kB / 0.9848 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.9111, allocations: 6.078 kB / 0.9848 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/0.9126, allocations: 0.9472 MB / 0.9857 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000331/0.9129, allocations: 216 kB / 0.9859 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.667e-05/0.913, allocations: 12 kB / 0.9859 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005498/0.9136, allocations: 33.86 kB / 0.986 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.796e-05/0.9137, allocations: 32.39 kB / 0.986 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.89e-05/0.9137, allocations: 19.98 kB / 0.986 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000489/0.9142, allocations: 431 kB / 0.9864 GB, free: 340 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9142, allocations: 4 kB / 0.9864 GB, free: 336 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007546/0.915, allocations: 271.4 kB / 0.9867 GB, free: 64 kB / 0.7325 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.002045/0.917, allocations: 1.606 MB / 0.9883 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009098/0.9179, allocations: 0.4976 MB / 0.9887 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.918, allocations: 4.312 kB / 0.9887 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004269/0.9184, allocations: 270.3 kB / 0.989 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/0.9203, allocations: 482.2 kB / 0.9895 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007892/0.9282, allocations: 5.976 MB / 0.9953 GB, free: 7.094 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005998/0.9288, allocations: 1.024 MB / 0.9963 GB, free: 6.043 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000698/0.9296, allocations: 190 kB / 0.9965 GB, free: 5.855 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004482/0.93, allocations: 303.3 kB / 0.9968 GB, free: 5.559 MB / 0.7481 GB Notification: Performance of SimCode: time 8.02e-07/0.93, allocations: 0 / 0.9968 GB, free: 5.559 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05335/0.9834, allocations: 22.36 MB / 1.019 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.202/10.19, allocations: 10.02 kB / 1.019 GB, free: 15.61 MB / 0.7794 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)