Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.005206/0.005206, allocations: 101.2 kB / 15.73 MB, free: 6.035 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.001174/0.001174, allocations: 195.9 kB / 16.67 MB, free: 5.961 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.508/1.508, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9919/0.9919, allocations: 143 MB / 433.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 71.88 kB / 0.5951 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3863, allocations: 82.03 MB / 0.6752 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors): time 0.6316/1.018, allocations: 218.7 MB / 0.8887 GB, free: 1.895 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02406/1.042, allocations: 20.46 MB / 0.9087 GB, free: 1.703 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002833/1.045, allocations: 58.84 kB / 0.9088 GB, free: 1.703 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002879/1.048, allocations: 1.304 MB / 0.91 GB, free: 1.676 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.009743/1.058, allocations: 4.202 MB / 0.9141 GB, free: 1.504 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003889/1.061, allocations: 1.561 MB / 0.9157 GB, free: 1.461 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.007224/1.069, allocations: 6.968 MB / 0.9225 GB, free: 1.434 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003146/1.072, allocations: 2.358 MB / 0.9248 GB, free: 1.23 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004565/1.076, allocations: 2.433 MB / 0.9271 GB, free: 1.23 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004296/1.081, allocations: 2.455 MB / 0.9295 GB, free: 1.129 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007333/1.082, allocations: 345 kB / 0.9299 GB, free: 1.129 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007327/1.089, allocations: 3.481 MB / 0.9333 GB, free: 1.094 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001806/1.091, allocations: 1.453 MB / 0.9347 GB, free: 0.9688 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003042/1.094, allocations: 1.87 MB / 0.9365 GB, free: 0.5156 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.009772/1.104, allocations: 5.993 MB / 0.9424 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/1.104, allocations: 2.344 kB / 0.9424 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.074e-06/1.104, allocations: 4.375 kB / 0.9424 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001242/1.104, allocations: 0 / 0.9424 GB, free: 15.82 MB / 0.7012 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.01057/1.114, allocations: 4.042 MB / 0.9463 GB, free: 14.01 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/1.114, allocations: 9.75 kB / 0.9463 GB, free: 14.01 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000619/1.115, allocations: 385.3 kB / 0.9467 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005306/1.12, allocations: 0.8439 MB / 0.9475 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004669/1.125, allocations: 1.956 MB / 0.9494 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/1.125, allocations: 205.3 kB / 0.9496 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004792/1.126, allocations: 262.8 kB / 0.9499 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005812/1.131, allocations: 3.291 MB / 0.9531 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.434e-05/1.132, allocations: 6.734 kB / 0.9531 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003093/1.132, allocations: 113.8 kB / 0.9532 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/1.132, allocations: 125.6 kB / 0.9533 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007191/1.139, allocations: 4.62 MB / 0.9578 GB, free: 8.465 MB / 0.7012 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.01767/1.157, allocations: 10.96 MB / 0.9685 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006214/1.163, allocations: 4.862 MB / 0.9733 GB, free: 8.777 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003644/1.167, allocations: 2.534 MB / 0.9758 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001285/1.168, allocations: 0.8622 MB / 0.9766 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.876e-05/1.168, allocations: 81.64 kB / 0.9767 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=399): time 9.177e-06/1.168, allocations: 2.531 kB / 0.9767 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of matching and sorting (n=399): time 0.01037/1.179, allocations: 6.033 MB / 0.9826 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/1.179, allocations: 90.55 kB / 0.9827 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001865/1.181, allocations: 1.236 MB / 0.9839 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003892/1.181, allocations: 93.7 kB / 0.984 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005792/1.182, allocations: 0.8298 MB / 0.9848 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001278/1.183, allocations: 1.396 MB / 0.9861 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008937/1.184, allocations: 0.547 MB / 0.9867 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.674e-05/1.184, allocations: 301.1 kB / 0.987 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002556/1.186, allocations: 1.599 MB / 0.9885 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002828/1.189, allocations: 1.916 MB / 0.9904 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005873/1.195, allocations: 3.84 MB / 0.9941 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/1.195, allocations: 0 / 0.9941 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006941/1.202, allocations: 4.203 MB / 0.9982 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/1.202, allocations: 12.06 kB / 0.9983 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/1.202, allocations: 4 kB / 0.9983 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.07e-05/1.202, allocations: 16 kB / 0.9983 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003061/1.205, allocations: 0.6801 MB / 0.9989 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.632e-05/1.205, allocations: 18.62 kB / 0.999 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002626/1.208, allocations: 250 kB / 0.9992 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002549/1.208, allocations: 120 kB / 0.9993 GB, free: 13.81 MB / 0.7481 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.001394/1.21, allocations: 0.7286 MB / 1 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005755/1.21, allocations: 250.5 kB / 1 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007543/1.218, allocations: 4.635 MB / 1.005 GB, free: 8.191 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-05/1.218, allocations: 42.53 kB / 1.005 GB, free: 8.152 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/1.218, allocations: 3.984 kB / 1.005 GB, free: 8.148 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006171/1.224, allocations: 3.951 MB / 1.009 GB, free: 4.145 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01393/1.238, allocations: 8.3 MB / 1.017 GB, free: 11.86 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.679e-06/1.238, allocations: 2.531 kB / 1.017 GB, free: 11.86 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003174/1.241, allocations: 0.6634 MB / 1.017 GB, free: 11.23 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005071/1.242, allocations: 134.5 kB / 1.018 GB, free: 11.09 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002694/1.242, allocations: 90.59 kB / 1.018 GB, free: 11 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003822/1.246, allocations: 5.031 MB / 1.023 GB, free: 5.582 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/1.246, allocations: 3.938 kB / 1.023 GB, free: 5.578 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01078/1.257, allocations: 6.831 MB / 1.029 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002242/1.259, allocations: 0.7836 MB / 1.03 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005084/1.259, allocations: 64 kB / 1.03 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002107/1.262, allocations: 96.25 kB / 1.03 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004207/1.262, allocations: 230.8 kB / 1.03 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002401/1.262, allocations: 112 kB / 1.03 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001295/1.264, allocations: 0.8645 MB / 1.031 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.573e-06/1.264, allocations: 0 / 1.031 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00279/1.266, allocations: 1.076 MB / 1.032 GB, free: 11.46 MB / 0.7794 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.01083/1.277, allocations: 7.625 MB / 1.04 GB, free: 3.816 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.006501/1.284, allocations: 4.064 MB / 1.044 GB, free: 15.79 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/1.284, allocations: 4 kB / 1.044 GB, free: 15.79 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.003953/1.288, allocations: 2.548 MB / 1.046 GB, free: 13.27 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005278/1.293, allocations: 1.071 MB / 1.047 GB, free: 12.21 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03598/1.329, allocations: 23.1 MB / 1.07 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001641/1.331, allocations: 1.939 MB / 1.072 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.003622/1.334, allocations: 1.219 MB / 1.073 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001876/1.336, allocations: 1.101 MB / 1.074 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of SimCode: time 1.914e-06/1.336, allocations: 0 / 1.074 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1205/1.457, allocations: 66.9 MB / 1.139 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.12/16.57, allocations: 8.594 kB / 1.139 GB, free: 14.47 MB / 0.8887 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ClosedDoors.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)