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.001137/0.001137, 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.001115/0.001115, allocations: 192.2 kB / 16.13 MB, free: 6.715 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.155/1.155, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001879/0.001878, allocations: 282.5 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 31.25/31.25, allocations: 169.2 MB / 0.4977 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 95.23 kB / 0.5946 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1733, allocations: 86.98 MB / 0.6795 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea): time 0.6847/0.858, allocations: 186.1 MB / 0.8613 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0108/0.8689, allocations: 6.146 MB / 0.8673 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002092/0.871, allocations: 35.97 kB / 0.8674 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001295/0.8724, allocations: 445.1 kB / 0.8678 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005037/0.8774, allocations: 1.782 MB / 0.8695 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002397/0.8798, allocations: 0.8575 MB / 0.8704 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004282/0.8841, allocations: 3.406 MB / 0.8737 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001007/0.8851, allocations: 0.6488 MB / 0.8743 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001603/0.8867, allocations: 0.7436 MB / 0.875 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001693/0.8885, allocations: 0.8095 MB / 0.8758 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.8886, allocations: 42 kB / 0.8759 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003702/0.8923, allocations: 1.842 MB / 0.8777 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003719/0.8927, allocations: 322.4 kB / 0.878 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006283/0.8933, allocations: 0.5082 MB / 0.8785 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002752/0.8961, allocations: 1.975 MB / 0.8804 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.8961, allocations: 4 kB / 0.8804 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of FrontEnd: time 6.11e-07/0.8961, allocations: 2.594 kB / 0.8804 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.8961, allocations: 0 / 0.8804 GB, free: 6.566 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.001996/0.8981, allocations: 1.38 MB / 0.8818 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.641e-05/0.8981, allocations: 10.03 kB / 0.8818 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001126/0.8983, allocations: 109 kB / 0.8819 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001921/0.9002, allocations: 315.4 kB / 0.8822 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009799/0.9012, allocations: 0.7495 MB / 0.8829 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/0.9012, allocations: 51.44 kB / 0.883 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.655e-05/0.9013, allocations: 70.67 kB / 0.883 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.9025, allocations: 0.7808 MB / 0.8838 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.9025, allocations: 3.938 kB / 0.8838 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.806e-05/0.9026, allocations: 31.38 kB / 0.8838 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.282e-05/0.9026, allocations: 34.39 kB / 0.8838 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.9036, allocations: 0.6358 MB / 0.8845 GB, free: 3.809 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.003475/0.9071, allocations: 3.359 MB / 0.8878 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007701/0.9079, allocations: 0.5006 MB / 0.8882 GB, free: 0.543 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004211/0.9083, allocations: 285.8 kB / 0.8885 GB, free: 416 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005529/0.9089, allocations: 0.6766 MB / 0.8892 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.9089, allocations: 41.98 kB / 0.8892 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=51): time 1.733e-06/0.909, allocations: 0 / 0.8892 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of matching and sorting (n=51): time 0.00152/0.9105, allocations: 0.7673 MB / 0.89 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.9105, allocations: 59.19 kB / 0.89 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006231/0.9112, allocations: 0.5962 MB / 0.8906 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.665e-05/0.9112, allocations: 42.92 kB / 0.8906 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002631/0.9115, allocations: 396.9 kB / 0.891 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001582/0.9116, allocations: 175.8 kB / 0.8912 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.9118, allocations: 92.5 kB / 0.8913 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.912, allocations: 380.1 kB / 0.8916 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003607/0.9123, allocations: 212.5 kB / 0.8918 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004053/0.9127, allocations: 282.4 kB / 0.8921 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007904/0.9135, allocations: 0.5081 MB / 0.8926 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.9135, allocations: 0 / 0.8926 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009866/0.9145, allocations: 0.6191 MB / 0.8932 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.9146, allocations: 4 kB / 0.8932 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.9146, allocations: 160 / 0.8932 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.9146, allocations: 8 kB / 0.8932 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005434/0.9151, allocations: 132.7 kB / 0.8933 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.9152, allocations: 7.938 kB / 0.8934 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007329/0.9159, allocations: 83.47 kB / 0.8934 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.085e-05/0.916, allocations: 20.88 kB / 0.8935 GB, free: 12.23 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.0002968/0.9163, allocations: 262.3 kB / 0.8937 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.9164, allocations: 75.16 kB / 0.8938 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009961/0.9174, allocations: 0.5932 MB / 0.8944 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.9174, allocations: 8 kB / 0.8944 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.9174, allocations: 3.938 kB / 0.8944 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009252/0.9183, allocations: 0.8184 MB / 0.8952 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002106/0.9205, allocations: 1.546 MB / 0.8967 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.9205, allocations: 0 / 0.8967 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000724/0.9212, allocations: 159.9 kB / 0.8968 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.9212, allocations: 4 kB / 0.8968 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.916e-05/0.9213, allocations: 15.98 kB / 0.8968 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.9213, allocations: 4 kB / 0.8969 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.9213, allocations: 0 / 0.8969 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/0.9226, allocations: 0.9472 MB / 0.8978 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002685/0.9229, allocations: 216 kB / 0.898 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.954e-05/0.923, allocations: 12 kB / 0.898 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000618/0.9236, allocations: 57.58 kB / 0.8981 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.642e-05/0.9237, allocations: 32.39 kB / 0.8981 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.701e-05/0.9238, allocations: 20 kB / 0.8981 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000452/0.9242, allocations: 431 kB / 0.8985 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9242, allocations: 3.938 kB / 0.8985 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00073/0.925, allocations: 271.4 kB / 0.8988 GB, free: 6.57 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.00191/0.9269, allocations: 1.608 MB / 0.9003 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000874/0.9278, allocations: 0.5094 MB / 0.9008 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.9278, allocations: 0 / 0.9008 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000408/0.9282, allocations: 270.3 kB / 0.9011 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001914/0.9301, allocations: 475.2 kB / 0.9016 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008119/0.9383, allocations: 6.451 MB / 0.9079 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005199/0.9388, allocations: 1.036 MB / 0.9089 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007022/0.9395, allocations: 182.1 kB / 0.909 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003872/0.9399, allocations: 303.3 kB / 0.9093 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.9399, allocations: 0 / 0.9093 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.643/3.583, allocations: 20.95 MB / 0.9298 GB, free: 7.039 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002636/3.584, allocations: 268.4 kB / 0.93 GB, free: 6.684 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.051/5.635, allocations: 1.125 kB / 0.93 GB, free: 6.684 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)