Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_8_Buildings_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.001046/0.001046, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 196.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.11/1.11, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 19.57/19.57, allocations: 292.3 MB / 0.5489 GB, free: 12.79 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 66.53 kB / 0.6716 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2514, allocations: 114.5 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.7946/1.046, allocations: 218.5 MB / 0.9968 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0284/1.074, allocations: 21.57 MB / 1.018 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003445/1.078, allocations: 51.03 kB / 1.018 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0035/1.082, allocations: 1.255 MB / 1.019 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01087/1.092, allocations: 4.069 MB / 1.023 GB, free: 9.297 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004627/1.097, allocations: 1.507 MB / 1.025 GB, free: 8.102 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.009201/1.106, allocations: 6.943 MB / 1.031 GB, free: 4.133 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004297/1.111, allocations: 2.35 MB / 1.034 GB, free: 2.668 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005841/1.116, allocations: 2.354 MB / 1.036 GB, free: 1.379 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005177/1.122, allocations: 2.461 MB / 1.038 GB, free: 15.92 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001186/1.123, allocations: 342.6 kB / 1.039 GB, free: 15.92 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008716/1.132, allocations: 3.461 MB / 1.042 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.002289/1.134, allocations: 1.444 MB / 1.044 GB, free: 13.04 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.005449/1.139, allocations: 1.867 MB / 1.045 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01136/1.151, allocations: 5.711 MB / 1.051 GB, free: 5.434 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/1.151, allocations: 4 kB / 1.051 GB, free: 5.43 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.513e-06/1.151, allocations: 3.938 kB / 1.051 GB, free: 5.426 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001355/1.151, allocations: 0 / 1.051 GB, free: 5.426 MB / 0.7637 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.01022/1.161, allocations: 3.932 MB / 1.055 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/1.161, allocations: 12.03 kB / 1.055 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004484/1.162, allocations: 387.8 kB / 1.055 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004421/1.166, allocations: 0.8236 MB / 1.056 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00344/1.17, allocations: 1.871 MB / 1.058 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/1.17, allocations: 205.4 kB / 1.058 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004221/1.17, allocations: 267.9 kB / 1.058 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004963/1.175, allocations: 3.283 MB / 1.061 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5e-05/1.175, allocations: 0 / 1.061 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000245/1.175, allocations: 116 kB / 1.062 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001106/1.176, allocations: 125.4 kB / 1.062 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006197/1.182, allocations: 4.608 MB / 1.066 GB, free: 5.629 MB / 0.7794 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.01399/1.196, allocations: 10.96 MB / 1.077 GB, free: 9.988 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005396/1.201, allocations: 4.865 MB / 1.082 GB, free: 5.094 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003091/1.204, allocations: 2.524 MB / 1.084 GB, free: 2.562 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009994/1.205, allocations: 0.8603 MB / 1.085 GB, free: 1.535 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.51e-05/1.205, allocations: 81.64 kB / 1.085 GB, free: 1.445 MB / 0.795 GB Notification: Performance of pre-optimization done (n=399): time 5.07e-06/1.205, allocations: 0 / 1.085 GB, free: 1.445 MB / 0.795 GB Notification: Performance of matching and sorting (n=399): time 0.00915/1.215, allocations: 6.023 MB / 1.091 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/1.215, allocations: 90.55 kB / 1.091 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001619/1.216, allocations: 1.219 MB / 1.092 GB, free: 10 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002442/1.217, allocations: 93.7 kB / 1.092 GB, free: 9.906 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005643/1.217, allocations: 0.8017 MB / 1.093 GB, free: 9.094 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.00106/1.218, allocations: 1.332 MB / 1.094 GB, free: 7.746 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000737/1.219, allocations: 0.5469 MB / 1.095 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.61e-05/1.219, allocations: 301.1 kB / 1.095 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002261/1.221, allocations: 1.599 MB / 1.097 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00247/1.224, allocations: 1.927 MB / 1.099 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005024/1.229, allocations: 3.834 MB / 1.102 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/1.229, allocations: 4 kB / 1.102 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006057/1.235, allocations: 4.183 MB / 1.106 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/1.235, allocations: 4 kB / 1.106 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/1.235, allocations: 4 kB / 1.106 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.066e-05/1.235, allocations: 23.94 kB / 1.106 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00263/1.238, allocations: 0.683 MB / 1.107 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.797e-05/1.238, allocations: 27.98 kB / 1.107 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002546/1.24, allocations: 237.3 kB / 1.107 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002507/1.241, allocations: 112 kB / 1.107 GB, free: 10.12 MB / 0.8262 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.001208/1.242, allocations: 0.7312 MB / 1.108 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005352/1.242, allocations: 237.2 kB / 1.108 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006676/1.249, allocations: 4.624 MB / 1.113 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-05/1.249, allocations: 43.94 kB / 1.113 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.487e-05/1.249, allocations: 3.938 kB / 1.113 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005295/1.254, allocations: 3.957 MB / 1.117 GB, free: 424 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0118/1.266, allocations: 8.253 MB / 1.125 GB, free: 8.066 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/1.266, allocations: 3.938 kB / 1.125 GB, free: 8.062 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002952/1.269, allocations: 0.6631 MB / 1.126 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005706/1.27, allocations: 146.5 kB / 1.126 GB, free: 7.246 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002523/1.27, allocations: 79.98 kB / 1.126 GB, free: 7.168 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005015/1.275, allocations: 5.082 MB / 1.131 GB, free: 1.668 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.275, allocations: 0 / 1.131 GB, free: 1.668 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01124/1.286, allocations: 7.009 MB / 1.138 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001931/1.288, allocations: 0.7705 MB / 1.138 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00035/1.289, allocations: 68 kB / 1.138 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001734/1.29, allocations: 90.34 kB / 1.138 GB, free: 9.656 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004007/1.291, allocations: 222.8 kB / 1.139 GB, free: 9.438 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001956/1.291, allocations: 115.9 kB / 1.139 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.00111/1.292, allocations: 0.8522 MB / 1.14 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.292, allocations: 0 / 1.14 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002217/1.294, allocations: 1.065 MB / 1.141 GB, free: 7.402 MB / 0.8575 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.U,volA.dynBal.m,volA.dynBal.mXi[1],volB.dynBal.U,volB.dynBal.m,volB.dynBal.mXi[1],volC.dynBal.U,volC.dynBal.m,volC.dynBal.mXi[1],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.009482/1.304, allocations: 7.811 MB / 1.148 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.02102/1.325, allocations: 11.48 MB / 1.16 GB, free: 4.031 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/1.325, allocations: 0 / 1.16 GB, free: 4.031 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.003666/1.329, allocations: 2.556 MB / 1.162 GB, free: 1.438 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004665/1.333, allocations: 1.071 MB / 1.163 GB, free: 388 kB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03283/1.366, allocations: 24.83 MB / 1.187 GB, free: 6.297 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001482/1.368, allocations: 1.927 MB / 1.189 GB, free: 4.332 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.003311/1.371, allocations: 1.219 MB / 1.19 GB, free: 3.105 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001496/1.373, allocations: 1.081 MB / 1.191 GB, free: 2.023 MB / 0.9044 GB Notification: Performance of SimCode: time 6.72e-07/1.373, allocations: 4 kB / 1.191 GB, free: 2.02 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1024/1.475, allocations: 66.13 MB / 1.256 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/11.53, allocations: 16.52 kB / 1.256 GB, free: 0.5273 MB / 0.9669 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)