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.05156/0.05156, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.04534/0.04534, allocations: 193.3 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 15.9/15.9, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002067/0.002067, allocations: 286.2 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.103/1.103, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 97.2 kB / 0.5948 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2105, allocations: 86.98 MB / 0.6797 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea): time 0.8176/1.028, allocations: 185.9 MB / 0.8613 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01472/1.043, allocations: 6.032 MB / 0.8672 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003315/1.046, allocations: 31.97 kB / 0.8672 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002357/1.049, allocations: 463.8 kB / 0.8677 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007925/1.057, allocations: 1.778 MB / 0.8694 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003668/1.06, allocations: 0.8672 MB / 0.8703 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005183/1.066, allocations: 2.489 MB / 0.8727 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/1.067, allocations: 0.7543 MB / 0.8734 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002399/1.07, allocations: 0.8672 MB / 0.8743 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00258/1.072, allocations: 0.8359 MB / 0.8751 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000179/1.072, allocations: 87.53 kB / 0.8752 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004226/1.077, allocations: 1.662 MB / 0.8768 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005429/1.077, allocations: 371 kB / 0.8771 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009641/1.078, allocations: 0.5534 MB / 0.8777 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004582/1.083, allocations: 2.019 MB / 0.8797 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/1.083, allocations: 0 / 0.8797 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.265e-06/1.083, allocations: 0 / 0.8797 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.731e-05/1.083, allocations: 0 / 0.8797 GB, free: 7.137 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.002814/1.086, allocations: 1.393 MB / 0.881 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/1.086, allocations: 10.19 kB / 0.881 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001505/1.086, allocations: 109.4 kB / 0.8811 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002132/1.088, allocations: 307.8 kB / 0.8814 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/1.09, allocations: 0.7413 MB / 0.8821 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.509e-05/1.09, allocations: 52.56 kB / 0.8822 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/1.09, allocations: 73.88 kB / 0.8823 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/1.091, allocations: 0.7912 MB / 0.883 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/1.091, allocations: 3.938 kB / 0.883 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-05/1.091, allocations: 27.78 kB / 0.8831 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-05/1.091, allocations: 26.78 kB / 0.8831 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/1.093, allocations: 0.6478 MB / 0.8837 GB, free: 4.363 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.004351/1.097, allocations: 3.353 MB / 0.887 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008849/1.098, allocations: 0.4966 MB / 0.8875 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004511/1.098, allocations: 294 kB / 0.8878 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006741/1.099, allocations: 0.6768 MB / 0.8884 GB, free: 192 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.08e-05/1.099, allocations: 41.48 kB / 0.8885 GB, free: 144 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=51): time 3.006e-06/1.099, allocations: 0 / 0.8885 GB, free: 144 kB / 0.5919 GB Notification: Performance of matching and sorting (n=51): time 0.001711/1.101, allocations: 0.7659 MB / 0.8892 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/1.101, allocations: 60.59 kB / 0.8893 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007089/1.102, allocations: 0.6014 MB / 0.8899 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.496e-05/1.102, allocations: 36.11 kB / 0.8899 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003219/1.102, allocations: 388.2 kB / 0.8903 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000227/1.102, allocations: 183.5 kB / 0.8904 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/1.102, allocations: 99.75 kB / 0.8905 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001746/1.102, allocations: 377 kB / 0.8909 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003762/1.103, allocations: 207.6 kB / 0.8911 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004525/1.103, allocations: 282.9 kB / 0.8914 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008048/1.104, allocations: 0.5042 MB / 0.8919 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.104, allocations: 0 / 0.8919 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001132/1.105, allocations: 0.6243 MB / 0.8925 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/1.105, allocations: 8 kB / 0.8925 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.105, allocations: 0 / 0.8925 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/1.105, allocations: 4 kB / 0.8925 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005875/1.106, allocations: 135.9 kB / 0.8926 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.601e-05/1.106, allocations: 7.938 kB / 0.8926 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008613/1.107, allocations: 83.48 kB / 0.8927 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.073e-05/1.107, allocations: 16 kB / 0.8927 GB, free: 13.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.0004028/1.107, allocations: 258.3 kB / 0.893 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/1.107, allocations: 71.16 kB / 0.893 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/1.109, allocations: 0.5971 MB / 0.8936 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/1.109, allocations: 4 kB / 0.8936 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.109, allocations: 7.875 kB / 0.8936 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009858/1.11, allocations: 0.8106 MB / 0.8944 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00245/1.112, allocations: 1.556 MB / 0.8959 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/1.112, allocations: 4 kB / 0.8959 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000777/1.113, allocations: 155.9 kB / 0.8961 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/1.113, allocations: 7.984 kB / 0.8961 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.28e-05/1.113, allocations: 16 kB / 0.8961 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/1.113, allocations: 0 / 0.8961 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/1.113, allocations: 4 kB / 0.8961 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/1.114, allocations: 0.9433 MB / 0.897 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003603/1.115, allocations: 220 kB / 0.8972 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.414e-05/1.115, allocations: 12 kB / 0.8972 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006485/1.116, allocations: 53.64 kB / 0.8973 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/1.116, allocations: 36.39 kB / 0.8973 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.142e-05/1.116, allocations: 19.98 kB / 0.8974 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004862/1.116, allocations: 423 kB / 0.8978 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.41e-07/1.116, allocations: 4 kB / 0.8978 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008186/1.117, allocations: 275.4 kB / 0.898 GB, free: 7.426 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.00211/1.119, allocations: 1.61 MB / 0.8996 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001168/1.12, allocations: 0.5756 MB / 0.9002 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.12, allocations: 320 / 0.9002 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004295/1.121, allocations: 278.3 kB / 0.9004 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/1.123, allocations: 490.7 kB / 0.9009 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009293/1.132, allocations: 6.461 MB / 0.9072 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006619/1.133, allocations: 1.028 MB / 0.9082 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008456/1.134, allocations: 186 kB / 0.9084 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004572/1.134, allocations: 303.3 kB / 0.9087 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of SimCode: time 9.42e-07/1.134, allocations: 0 / 0.9087 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04057/1.175, allocations: 21.6 MB / 0.9298 GB, free: 7.191 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002319/1.175, allocations: 264.5 kB / 0.93 GB, free: 6.84 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.354/3.529, allocations: 3.375 kB / 0.93 GB, free: 6.84 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)