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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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(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.005133/0.005133, allocations: 95.98 kB / 15.73 MB, free: 6.039 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.001322/0.001321, allocations: 198.9 kB / 16.68 MB, free: 5.969 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.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.058/1.058, allocations: 143.3 MB / 433.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 67.89 kB / 0.5953 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3616, allocations: 82.02 MB / 0.6754 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors): time 0.6069/0.9685, allocations: 218.7 MB / 0.889 GB, free: 1.902 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02588/0.9944, allocations: 20.46 MB / 0.9089 GB, free: 1.707 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002624/0.997, allocations: 59.16 kB / 0.909 GB, free: 1.707 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003033/1, allocations: 1.257 MB / 0.9102 GB, free: 1.676 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.009892/1.01, allocations: 4.073 MB / 0.9142 GB, free: 1.508 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003879/1.014, allocations: 1.551 MB / 0.9157 GB, free: 1.465 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.007466/1.021, allocations: 6.967 MB / 0.9225 GB, free: 1.441 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003391/1.025, allocations: 2.36 MB / 0.9248 GB, free: 1.234 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004657/1.03, allocations: 2.36 MB / 0.9271 GB, free: 1.234 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004944/1.035, allocations: 2.46 MB / 0.9295 GB, free: 1.129 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001037/1.036, allocations: 341 kB / 0.9299 GB, free: 1.129 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007701/1.043, allocations: 3.466 MB / 0.9332 GB, free: 1.094 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001762/1.045, allocations: 1.451 MB / 0.9347 GB, free: 0.9688 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002997/1.048, allocations: 1.866 MB / 0.9365 GB, free: 0.5156 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01144/1.06, allocations: 5.999 MB / 0.9423 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/1.06, allocations: 1 kB / 0.9423 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.054e-06/1.06, allocations: 0 / 0.9423 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0002158/1.06, allocations: 0 / 0.9423 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.01209/1.072, allocations: 4.038 MB / 0.9463 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/1.072, allocations: 12.62 kB / 0.9463 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007075/1.073, allocations: 390.7 kB / 0.9467 GB, free: 13.9 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005232/1.078, allocations: 0.8468 MB / 0.9475 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003958/1.082, allocations: 1.949 MB / 0.9494 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/1.082, allocations: 200.4 kB / 0.9496 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004948/1.083, allocations: 268.1 kB / 0.9499 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006412/1.089, allocations: 3.286 MB / 0.9531 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.433e-05/1.089, allocations: 6.828 kB / 0.9531 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003494/1.089, allocations: 112.3 kB / 0.9532 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001195/1.09, allocations: 122.8 kB / 0.9533 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008278/1.098, allocations: 4.628 MB / 0.9578 GB, free: 8.582 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.01999/1.118, allocations: 10.96 MB / 0.9685 GB, free: 13.81 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007606/1.126, allocations: 4.859 MB / 0.9733 GB, free: 8.926 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004837/1.13, allocations: 2.528 MB / 0.9757 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001385/1.132, allocations: 0.8712 MB / 0.9766 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.719e-05/1.132, allocations: 78.7 kB / 0.9767 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=399): time 5.21e-06/1.132, allocations: 0 / 0.9767 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=399): time 0.01333/1.145, allocations: 6.033 MB / 0.9825 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.898e-05/1.145, allocations: 94.55 kB / 0.9826 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002189/1.148, allocations: 1.228 MB / 0.9838 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0006561/1.148, allocations: 101.6 kB / 0.9839 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007493/1.149, allocations: 0.819 MB / 0.9847 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001968/1.151, allocations: 1.406 MB / 0.9861 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001319/1.152, allocations: 0.543 MB / 0.9866 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000143/1.153, allocations: 305.1 kB / 0.9869 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003028/1.156, allocations: 1.603 MB / 0.9885 GB, free: 9.059 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003265/1.159, allocations: 1.912 MB / 0.9904 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006607/1.165, allocations: 3.836 MB / 0.9941 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/1.165, allocations: 0 / 0.9941 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007848/1.173, allocations: 4.2 MB / 0.9982 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/1.173, allocations: 4.406 kB / 0.9982 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/1.173, allocations: 8 kB / 0.9982 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.373e-05/1.173, allocations: 16 kB / 0.9982 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003168/1.177, allocations: 0.6826 MB / 0.9989 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.475e-05/1.177, allocations: 20 kB / 0.9989 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00263/1.179, allocations: 250 kB / 0.9992 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002991/1.18, allocations: 112 kB / 0.9993 GB, free: 13.97 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.00158/1.181, allocations: 0.7395 MB / 1 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006625/1.182, allocations: 246.5 kB / 1 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009025/1.191, allocations: 4.633 MB / 1.005 GB, free: 8.348 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.485e-05/1.191, allocations: 40 kB / 1.005 GB, free: 8.309 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/1.191, allocations: 0 / 1.005 GB, free: 8.309 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007282/1.198, allocations: 3.956 MB / 1.009 GB, free: 4.301 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01585/1.214, allocations: 8.307 MB / 1.017 GB, free: 12.01 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/1.214, allocations: 4 kB / 1.017 GB, free: 12.01 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003398/1.218, allocations: 0.6575 MB / 1.017 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005409/1.218, allocations: 137.6 kB / 1.018 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004312/1.219, allocations: 83.97 kB / 1.018 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004605/1.223, allocations: 5.044 MB / 1.023 GB, free: 5.73 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/1.223, allocations: 3.938 kB / 1.023 GB, free: 5.727 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01295/1.236, allocations: 6.83 MB / 1.029 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00212/1.238, allocations: 0.7797 MB / 1.03 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006299/1.239, allocations: 68 kB / 1.03 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002269/1.241, allocations: 91.38 kB / 1.03 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006081/1.242, allocations: 222.8 kB / 1.03 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003321/1.242, allocations: 108 kB / 1.03 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001463/1.244, allocations: 0.8708 MB / 1.031 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.1e-07/1.244, allocations: 3.938 kB / 1.031 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00322/1.247, allocations: 1.073 MB / 1.032 GB, free: 11.62 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.01417/1.261, allocations: 7.627 MB / 1.04 GB, free: 3.969 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.008319/1.27, allocations: 4.06 MB / 1.044 GB, free: 15.94 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/1.27, allocations: 0 / 1.044 GB, free: 15.94 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.004867/1.275, allocations: 2.552 MB / 1.046 GB, free: 13.43 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005742/1.28, allocations: 1.072 MB / 1.047 GB, free: 12.37 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04063/1.321, allocations: 23.1 MB / 1.07 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001918/1.323, allocations: 1.942 MB / 1.072 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.003718/1.327, allocations: 1.227 MB / 1.073 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002186/1.329, allocations: 1.089 MB / 1.074 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of SimCode: time 7.32e-07/1.329, allocations: 0 / 1.074 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.127/1.456, allocations: 66.92 MB / 1.139 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.36/16.82, allocations: 11.27 kB / 1.139 GB, free: 14.66 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)