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.001253/0.001253, 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.001067/0.001067, allocations: 193.1 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.207/1.207, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001906/0.001906, allocations: 285 kB / 290.2 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 34.12/34.12, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 95.28 kB / 0.5946 GB, free: 28.49 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1727, allocations: 86.98 MB / 0.6795 GB, free: 1.098 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors): time 0.6932/0.866, allocations: 216.2 MB / 0.8906 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0264/0.8924, allocations: 20.72 MB / 0.9109 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003188/0.8956, allocations: 55.69 kB / 0.9109 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003118/0.8987, allocations: 1.1 MB / 0.912 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01027/0.9091, allocations: 3.847 MB / 0.9157 GB, free: 5.859 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004236/0.9133, allocations: 1.38 MB / 0.9171 GB, free: 4.484 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00986/0.9232, allocations: 9.521 MB / 0.9264 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003004/0.9262, allocations: 1.999 MB / 0.9283 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00409/0.9303, allocations: 2.028 MB / 0.9303 GB, free: 6.852 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004714/0.9351, allocations: 2.542 MB / 0.9328 GB, free: 4.309 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005604/0.9356, allocations: 184 kB / 0.933 GB, free: 4.129 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007569/0.9432, allocations: 3.951 MB / 0.9368 GB, free: 172 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001626/0.9449, allocations: 1.293 MB / 0.9381 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002511/0.9474, allocations: 1.699 MB / 0.9398 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008529/0.9559, allocations: 5.827 MB / 0.9455 GB, free: 7.32 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.081e-05/0.956, allocations: 0 / 0.9455 GB, free: 7.32 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.654e-06/0.956, allocations: 3.938 kB / 0.9455 GB, free: 7.316 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.182e-05/0.956, allocations: 4 kB / 0.9455 GB, free: 7.312 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.008421/0.9645, allocations: 3.938 MB / 0.9493 GB, free: 3.312 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.9645, allocations: 12.03 kB / 0.9493 GB, free: 3.301 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000427/0.965, allocations: 387.8 kB / 0.9497 GB, free: 2.914 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004572/0.9695, allocations: 0.8313 MB / 0.9505 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002904/0.9725, allocations: 1.882 MB / 0.9523 GB, free: 144 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.9726, allocations: 205.4 kB / 0.9525 GB, free: 15.93 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003383/0.9729, allocations: 264 kB / 0.9528 GB, free: 15.68 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004789/0.9777, allocations: 3.289 MB / 0.956 GB, free: 12.35 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.731e-05/0.9778, allocations: 3.906 kB / 0.956 GB, free: 12.35 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002353/0.978, allocations: 112 kB / 0.9561 GB, free: 12.24 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000105/0.9782, allocations: 121.4 kB / 0.9562 GB, free: 12.12 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006271/0.9844, allocations: 4.623 MB / 0.9607 GB, free: 7.48 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.01373/0.9982, allocations: 10.88 MB / 0.9714 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005475/1.004, allocations: 4.859 MB / 0.9761 GB, free: 7.035 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003107/1.007, allocations: 2.524 MB / 0.9786 GB, free: 4.508 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009392/1.008, allocations: 0.8605 MB / 0.9794 GB, free: 3.48 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.907e-05/1.008, allocations: 85.69 kB / 0.9795 GB, free: 3.387 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=399): time 4.799e-06/1.008, allocations: 0 / 0.9795 GB, free: 3.387 MB / 0.6856 GB Notification: Performance of matching and sorting (n=399): time 0.008626/1.016, allocations: 6.03 MB / 0.9854 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/1.017, allocations: 94.48 kB / 0.9855 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/1.018, allocations: 1.228 MB / 0.9867 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001993/1.018, allocations: 93.7 kB / 0.9868 GB, free: 11.83 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004884/1.019, allocations: 0.8134 MB / 0.9876 GB, free: 11.01 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000933/1.02, allocations: 1.332 MB / 0.9889 GB, free: 9.656 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007343/1.02, allocations: 0.5507 MB / 0.9894 GB, free: 9.098 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 7.586e-05/1.02, allocations: 305.1 kB / 0.9897 GB, free: 8.797 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002181/1.023, allocations: 1.603 MB / 0.9912 GB, free: 7.191 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002406/1.025, allocations: 1.901 MB / 0.9931 GB, free: 5.246 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00493/1.03, allocations: 3.831 MB / 0.9968 GB, free: 1.355 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/1.03, allocations: 8 kB / 0.9969 GB, free: 1.348 MB / 0.7012 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006397/1.036, allocations: 4.183 MB / 1.001 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/1.037, allocations: 14.44 kB / 1.001 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/1.037, allocations: 4 kB / 1.001 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.319e-05/1.037, allocations: 16.41 kB / 1.001 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002653/1.039, allocations: 0.6865 MB / 1.002 GB, free: 12.42 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.31e-05/1.039, allocations: 19.98 kB / 1.002 GB, free: 12.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002868/1.042, allocations: 397.1 kB / 1.002 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002127/1.042, allocations: 123.9 kB / 1.002 GB, free: 11.89 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.001248/1.044, allocations: 0.7241 MB / 1.003 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005123/1.044, allocations: 245 kB / 1.003 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006554/1.051, allocations: 4.636 MB / 1.008 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.61e-05/1.051, allocations: 43.98 kB / 1.008 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/1.051, allocations: 0 / 1.008 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005078/1.056, allocations: 3.954 MB / 1.012 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01103/1.067, allocations: 8.276 MB / 1.02 GB, free: 9.812 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/1.067, allocations: 0 / 1.02 GB, free: 9.812 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002665/1.07, allocations: 0.6749 MB / 1.02 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003907/1.07, allocations: 138.4 kB / 1.02 GB, free: 8.992 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001823/1.07, allocations: 83.97 kB / 1.02 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003078/1.073, allocations: 4.513 MB / 1.025 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.073, allocations: 8.125 kB / 1.025 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008605/1.082, allocations: 6.799 MB / 1.032 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00126/1.083, allocations: 0.7705 MB / 1.032 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003051/1.083, allocations: 68 kB / 1.032 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00184/1.085, allocations: 213.5 kB / 1.033 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003798/1.086, allocations: 222.8 kB / 1.033 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001982/1.086, allocations: 120 kB / 1.033 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001054/1.087, allocations: 0.8684 MB / 1.034 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/1.087, allocations: 0 / 1.034 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002816/1.09, allocations: 1.08 MB / 1.035 GB, free: 9.77 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.009424/1.099, allocations: 7.614 MB / 1.042 GB, free: 2.086 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.005194/1.104, allocations: 4.043 MB / 1.046 GB, free: 14.03 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/1.104, allocations: 0 / 1.046 GB, free: 14.03 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002971/1.107, allocations: 2.555 MB / 1.049 GB, free: 11.44 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00411/1.112, allocations: 1.023 MB / 1.05 GB, free: 10.42 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.255/1.367, allocations: 26.07 MB / 1.075 GB, free: 284.9 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001436/1.368, allocations: 1.939 MB / 1.077 GB, free: 284.1 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003298/1.371, allocations: 1.221 MB / 1.078 GB, free: 284 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001396/1.373, allocations: 1.091 MB / 1.079 GB, free: 283.2 MB / 0.7637 GB Notification: Performance of SimCode: time 1.272e-06/1.373, allocations: 0 / 1.079 GB, free: 283.2 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.618/4.991, allocations: 63.98 MB / 1.142 GB, free: 235.2 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/4.991, allocations: 238.1 kB / 1.142 GB, free: 235 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.092/10.08, allocations: 3.938 kB / 1.142 GB, free: 235 MB / 0.7637 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)