Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_10_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.001186/0.001186, 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.001197/0.001197, allocations: 190.5 kB / 16.25 MB, free: 6.629 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.178/1.178, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.235/2.235, allocations: 437 MB / 0.7101 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001128, allocations: 67.83 kB / 0.8689 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4883/0.4894, allocations: 151.6 MB / 1.017 GB, free: 2.672 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.1819/0.6714, allocations: 215.7 MB / 1.228 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02146/0.6929, allocations: 20.32 MB / 1.247 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0016/0.6945, allocations: 47.75 kB / 1.247 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002244/0.6968, allocations: 1.128 MB / 1.249 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007494/0.7043, allocations: 3.829 MB / 1.252 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.4242/1.129, allocations: 1.403 MB / 1.254 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007098/1.136, allocations: 6.958 MB / 1.26 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00284/1.139, allocations: 2.314 MB / 1.263 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004056/1.143, allocations: 2.391 MB / 1.265 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003628/1.146, allocations: 2.618 MB / 1.268 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004448/1.147, allocations: 344.7 kB / 1.268 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005404/1.152, allocations: 3.624 MB / 1.272 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001315/1.153, allocations: 1.455 MB / 1.273 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001853/1.155, allocations: 1.861 MB / 1.275 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005628/1.161, allocations: 5.966 MB / 1.281 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/1.161, allocations: 4.156 kB / 1.281 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.363e-06/1.161, allocations: 0 / 1.281 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.353e-05/1.161, allocations: 0 / 1.281 GB, free: 5.137 MB / 0.9981 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.007175/1.168, allocations: 3.943 MB / 1.284 GB, free: 19.64 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/1.168, allocations: 8.438 kB / 1.284 GB, free: 19.64 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003746/1.169, allocations: 388.4 kB / 1.285 GB, free: 19.59 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004165/1.173, allocations: 0.8223 MB / 1.286 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002412/1.175, allocations: 1.886 MB / 1.287 GB, free: 18.94 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.874e-05/1.175, allocations: 201.5 kB / 1.288 GB, free: 18.93 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003057/1.176, allocations: 271.4 kB / 1.288 GB, free: 18.93 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004041/1.18, allocations: 3.281 MB / 1.291 GB, free: 18.79 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.992e-05/1.18, allocations: 2.094 kB / 1.291 GB, free: 18.79 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002282/1.18, allocations: 115.3 kB / 1.291 GB, free: 18.79 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.978e-05/1.18, allocations: 123.4 kB / 1.291 GB, free: 18.79 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005184/1.185, allocations: 4.622 MB / 1.296 GB, free: 18.75 MB / 1.014 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.01135/1.197, allocations: 10.88 MB / 1.306 GB, free: 14.92 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004344/1.201, allocations: 4.866 MB / 1.311 GB, free: 14.63 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002611/1.204, allocations: 2.518 MB / 1.314 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009293/1.204, allocations: 0.8651 MB / 1.315 GB, free: 13.75 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/1.205, allocations: 73.39 kB / 1.315 GB, free: 13.71 MB / 1.014 GB Notification: Performance of pre-optimization done (n=399): time 5e-06/1.205, allocations: 2.438 kB / 1.315 GB, free: 13.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=399): time 0.007459/1.212, allocations: 6.027 MB / 1.32 GB, free: 13.14 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/1.212, allocations: 93.17 kB / 1.321 GB, free: 13.07 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/1.213, allocations: 1.23 MB / 1.322 GB, free: 12.92 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001897/1.214, allocations: 96.08 kB / 1.322 GB, free: 12.89 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003602/1.214, allocations: 0.8088 MB / 1.323 GB, free: 12.56 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006564/1.215, allocations: 1.332 MB / 1.324 GB, free: 11.69 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000679/1.215, allocations: 0.5454 MB / 1.324 GB, free: 11.66 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 7.74e-05/1.215, allocations: 306.8 kB / 1.325 GB, free: 11.37 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001846/1.217, allocations: 1.602 MB / 1.326 GB, free: 11.36 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002/1.219, allocations: 1.914 MB / 1.328 GB, free: 11.21 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004188/1.223, allocations: 3.832 MB / 1.332 GB, free: 11.02 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/1.223, allocations: 0.8125 kB / 1.332 GB, free: 11.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005028/1.228, allocations: 4.193 MB / 1.336 GB, free: 10.48 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/1.229, allocations: 13.45 kB / 1.336 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/1.229, allocations: 2.469 kB / 1.336 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.652e-05/1.229, allocations: 26.8 kB / 1.336 GB, free: 10.47 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002414/1.231, allocations: 0.6826 MB / 1.337 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.336e-05/1.231, allocations: 17 kB / 1.337 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002499/1.234, allocations: 405.6 kB / 1.337 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001966/1.234, allocations: 113.8 kB / 1.337 GB, free: 10.23 MB / 1.014 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.001111/1.235, allocations: 0.7237 MB / 1.338 GB, free: 9.859 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003658/1.235, allocations: 235.5 kB / 1.338 GB, free: 9.742 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006101/1.241, allocations: 4.639 MB / 1.343 GB, free: 7.863 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.162e-05/1.241, allocations: 38.28 kB / 1.343 GB, free: 7.863 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/1.241, allocations: 7.406 kB / 1.343 GB, free: 7.859 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004762/1.246, allocations: 3.956 MB / 1.347 GB, free: 6.305 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01074/1.257, allocations: 8.276 MB / 1.355 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/1.257, allocations: 0 / 1.355 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002571/1.26, allocations: 0.6537 MB / 1.355 GB, free: 96 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004018/1.26, allocations: 145.1 kB / 1.356 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001958/1.26, allocations: 83.97 kB / 1.356 GB, free: 15.87 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003281/1.263, allocations: 5.044 MB / 1.361 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.263, allocations: 0.5938 kB / 1.361 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008556/1.272, allocations: 6.827 MB / 1.367 GB, free: 3.582 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00133/1.273, allocations: 0.7675 MB / 1.368 GB, free: 2.793 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003207/1.274, allocations: 67.75 kB / 1.368 GB, free: 2.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001935/1.276, allocations: 218.5 kB / 1.368 GB, free: 2.535 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003712/1.276, allocations: 223.7 kB / 1.368 GB, free: 2.316 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002026/1.276, allocations: 112.8 kB / 1.369 GB, free: 2.207 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001011/1.277, allocations: 0.8606 MB / 1.369 GB, free: 1.344 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.277, allocations: 1.062 kB / 1.369 GB, free: 1.344 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002262/1.279, allocations: 1.084 MB / 1.37 GB, free: 264 kB / 1.029 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.009148/1.289, allocations: 7.618 MB / 1.378 GB, free: 8.645 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.02012/1.309, allocations: 11.48 MB / 1.389 GB, free: 13.24 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.309, allocations: 3.938 kB / 1.389 GB, free: 13.23 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002962/1.312, allocations: 2.561 MB / 1.392 GB, free: 10.71 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00423/1.316, allocations: 1.068 MB / 1.393 GB, free: 9.676 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03163/1.348, allocations: 26.08 MB / 1.418 GB, free: 14.45 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001351/1.349, allocations: 1.935 MB / 1.42 GB, free: 12.47 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.003127/1.352, allocations: 1.227 MB / 1.421 GB, free: 11.23 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00146/1.354, allocations: 1.089 MB / 1.422 GB, free: 10.15 MB / 1.092 GB Notification: Performance of SimCode: time 1.363e-06/1.354, allocations: 0 / 1.422 GB, free: 10.15 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.848/4.201, allocations: 65.87 MB / 1.487 GB, free: 9.133 MB / 1.154 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/4.201, allocations: 227.4 kB / 1.487 GB, free: 8.871 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.341/7.542, allocations: 3.938 kB / 1.487 GB, free: 8.867 MB / 1.154 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)