Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.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.ClosedDoors,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ClosedDoors",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.0008497/0.0008498, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005212/0.005212, allocations: 174 kB / 16.27 MB, free: 6.676 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.205/1.205, allocations: 223.2 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001601/0.001601, allocations: 271 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 34.81/34.81, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004279/0.0004281, allocations: 10.66 kB / 0.5988 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2211, allocations: 88.55 MB / 0.6852 GB, free: 15 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors): time 0.8556/1.077, allocations: 213.2 MB / 0.8934 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03104/1.108, allocations: 20.51 MB / 0.9135 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003911/1.112, allocations: 43.75 kB / 0.9135 GB, free: 5.898 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003849/1.116, allocations: 1.104 MB / 0.9146 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01257/1.128, allocations: 3.837 MB / 0.9183 GB, free: 0.9375 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004949/1.133, allocations: 1.384 MB / 0.9197 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01216/1.145, allocations: 9.521 MB / 0.929 GB, free: 6.016 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003549/1.149, allocations: 1.945 MB / 0.9309 GB, free: 4.02 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004856/1.154, allocations: 1.965 MB / 0.9328 GB, free: 2.047 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005704/1.16, allocations: 2.45 MB / 0.9352 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0007426/1.16, allocations: 163.9 kB / 0.9353 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008877/1.169, allocations: 3.932 MB / 0.9392 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002138/1.171, allocations: 1.254 MB / 0.9404 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003036/1.175, allocations: 1.677 MB / 0.942 GB, free: 8.543 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.009823/1.184, allocations: 5.74 MB / 0.9476 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.184, allocations: 0 / 0.9476 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.236e-06/1.184, allocations: 0 / 0.9476 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.000101/1.185, allocations: 3.938 kB / 0.9477 GB, free: 2.781 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.008641/1.193, allocations: 3.455 MB / 0.951 GB, free: 15.27 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/1.193, allocations: 8.031 kB / 0.951 GB, free: 15.26 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007286/1.194, allocations: 387.8 kB / 0.9514 GB, free: 14.87 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004856/1.199, allocations: 0.8314 MB / 0.9522 GB, free: 14.04 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003822/1.203, allocations: 1.883 MB / 0.9541 GB, free: 12.09 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/1.203, allocations: 201.4 kB / 0.9542 GB, free: 11.89 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004418/1.203, allocations: 275.9 kB / 0.9545 GB, free: 11.62 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005496/1.209, allocations: 3.279 MB / 0.9577 GB, free: 8.305 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.468e-05/1.209, allocations: 0 / 0.9577 GB, free: 8.305 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002618/1.209, allocations: 112 kB / 0.9578 GB, free: 8.195 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001115/1.209, allocations: 125.4 kB / 0.9579 GB, free: 8.07 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006715/1.216, allocations: 4.627 MB / 0.9625 GB, free: 3.43 MB / 0.67 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.01482/1.231, allocations: 10.89 MB / 0.9731 GB, free: 7.859 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005708/1.236, allocations: 4.863 MB / 0.9778 GB, free: 2.965 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003543/1.24, allocations: 2.528 MB / 0.9803 GB, free: 440 kB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/1.241, allocations: 0.8761 MB / 0.9812 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.223e-05/1.241, allocations: 81.64 kB / 0.9812 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=399): time 5.18e-06/1.241, allocations: 0 / 0.9812 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of matching and sorting (n=399): time 0.009623/1.251, allocations: 6.038 MB / 0.9871 GB, free: 9.172 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/1.251, allocations: 90.55 kB / 0.9872 GB, free: 9.07 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001685/1.253, allocations: 1.228 MB / 0.9884 GB, free: 7.836 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002114/1.253, allocations: 93.7 kB / 0.9885 GB, free: 7.738 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005408/1.253, allocations: 0.8134 MB / 0.9893 GB, free: 6.914 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001199/1.255, allocations: 1.332 MB / 0.9906 GB, free: 5.562 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003579/1.255, allocations: 272.8 kB / 0.9909 GB, free: 5.289 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001029/1.255, allocations: 305.1 kB / 0.9912 GB, free: 4.988 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002331/1.257, allocations: 1.607 MB / 0.9927 GB, free: 3.379 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002491/1.26, allocations: 1.905 MB / 0.9946 GB, free: 1.43 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00524/1.265, allocations: 3.838 MB / 0.9983 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/1.265, allocations: 0 / 0.9983 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005908/1.271, allocations: 4.191 MB / 1.002 GB, free: 9.316 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/1.271, allocations: 11.94 kB / 1.002 GB, free: 9.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/1.271, allocations: 4 kB / 1.002 GB, free: 9.301 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.968e-05/1.271, allocations: 16 kB / 1.002 GB, free: 9.285 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002602/1.274, allocations: 0.6908 MB / 1.003 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.807e-05/1.274, allocations: 16 kB / 1.003 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002614/1.276, allocations: 397.1 kB / 1.004 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001963/1.277, allocations: 116 kB / 1.004 GB, free: 8.074 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (430): * Single equations (assignments): 430 * 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.001163/1.278, allocations: 0.7396 MB / 1.004 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003737/1.278, allocations: 245 kB / 1.005 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006769/1.285, allocations: 4.642 MB / 1.009 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.483e-05/1.285, allocations: 36 kB / 1.009 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/1.285, allocations: 4 kB / 1.009 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005491/1.291, allocations: 3.961 MB / 1.013 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01275/1.303, allocations: 8.28 MB / 1.021 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/1.303, allocations: 0 / 1.021 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002659/1.306, allocations: 0.6632 MB / 1.022 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004132/1.306, allocations: 142.4 kB / 1.022 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001907/1.307, allocations: 79.98 kB / 1.022 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003234/1.31, allocations: 4.529 MB / 1.026 GB, free: 144 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.31, allocations: 3.938 kB / 1.026 GB, free: 140 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009365/1.319, allocations: 6.818 MB / 1.033 GB, free: 9.258 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002684/1.322, allocations: 0.7627 MB / 1.034 GB, free: 8.473 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000582/1.323, allocations: 68 kB / 1.034 GB, free: 8.406 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002667/1.325, allocations: 224.5 kB / 1.034 GB, free: 8.191 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000455/1.326, allocations: 218.8 kB / 1.034 GB, free: 7.977 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002153/1.326, allocations: 116 kB / 1.034 GB, free: 7.863 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001266/1.327, allocations: 0.8645 MB / 1.035 GB, free: 6.996 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.7e-07/1.327, allocations: 0 / 1.035 GB, free: 6.996 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002691/1.33, allocations: 1.08 MB / 1.036 GB, free: 5.914 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * 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 (393): * Single equations (assignments): 390 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.3029/1.633, allocations: 7.612 MB / 1.044 GB, free: 274.8 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.008291/1.641, allocations: 4.046 MB / 1.048 GB, free: 274.4 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/1.641, allocations: 0 / 1.048 GB, free: 274.4 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.003759/1.645, allocations: 2.552 MB / 1.05 GB, free: 273.3 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005273/1.65, allocations: 1.023 MB / 1.051 GB, free: 273.1 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04474/1.695, allocations: 26.34 MB / 1.077 GB, free: 259.3 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001463/1.696, allocations: 1.941 MB / 1.079 GB, free: 258.4 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003918/1.7, allocations: 1.227 MB / 1.08 GB, free: 258.2 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001784/1.702, allocations: 1.089 MB / 1.081 GB, free: 257.4 MB / 0.7481 GB Notification: Performance of SimCode: time 7.22e-07/1.702, allocations: 0 / 1.081 GB, free: 257.4 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08069/1.783, allocations: 63.32 MB / 1.143 GB, free: 199 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/1.783, allocations: 241.6 kB / 1.143 GB, free: 198.8 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.726/5.509, allocations: 4 kB / 1.143 GB, free: 198.8 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ClosedDoors.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)