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.001126/0.001126, allocations: 108 kB / 15.6 MB, free: 132 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.0009106/0.0009105, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.156/1.156, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.8433/0.8433, allocations: 143 MB / 433.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 55.91 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1208, allocations: 82.06 MB / 0.5944 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors): time 0.3769/0.4977, allocations: 218.7 MB / 0.808 GB, free: 2.504 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02173/0.5194, allocations: 20.45 MB / 0.8279 GB, free: 14 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001216/0.5207, allocations: 59.69 kB / 0.828 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002171/0.5229, allocations: 1.247 MB / 0.8292 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006935/0.5299, allocations: 4.089 MB / 0.8332 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002813/0.5327, allocations: 1.528 MB / 0.8347 GB, free: 7.055 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005829/0.5385, allocations: 6.965 MB / 0.8415 GB, free: 72 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002286/0.5408, allocations: 2.36 MB / 0.8438 GB, free: 13.67 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002589/0.5434, allocations: 2.352 MB / 0.8461 GB, free: 11.31 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002839/0.5463, allocations: 2.454 MB / 0.8485 GB, free: 8.859 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004148/0.5467, allocations: 347.9 kB / 0.8488 GB, free: 8.52 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005476/0.5522, allocations: 3.465 MB / 0.8522 GB, free: 5.047 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001116/0.5533, allocations: 1.45 MB / 0.8536 GB, free: 3.594 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001642/0.555, allocations: 1.863 MB / 0.8554 GB, free: 1.723 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.2685/0.8234, allocations: 5.929 MB / 0.8612 GB, free: 18.01 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.8235, allocations: 0 / 0.8612 GB, free: 18.01 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.903e-06/0.8235, allocations: 0 / 0.8612 GB, free: 18.01 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.842e-05/0.8236, allocations: 3.391 kB / 0.8612 GB, free: 18.01 MB / 0.67 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.0073/0.8309, allocations: 3.947 MB / 0.8651 GB, free: 16.57 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.8309, allocations: 11.31 kB / 0.8651 GB, free: 16.57 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003861/0.8313, allocations: 387 kB / 0.8655 GB, free: 16.52 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004091/0.8354, allocations: 0.8269 MB / 0.8663 GB, free: 16.36 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002412/0.8378, allocations: 1.892 MB / 0.8681 GB, free: 15.86 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.602e-05/0.8379, allocations: 202.9 kB / 0.8683 GB, free: 15.86 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003293/0.8383, allocations: 266.7 kB / 0.8686 GB, free: 15.85 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004005/0.8423, allocations: 3.284 MB / 0.8718 GB, free: 15.72 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.849e-05/0.8423, allocations: 2.438 kB / 0.8718 GB, free: 15.72 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002368/0.8426, allocations: 112.5 kB / 0.8719 GB, free: 15.72 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.724e-05/0.8427, allocations: 126.8 kB / 0.872 GB, free: 15.71 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005767/0.8485, allocations: 4.619 MB / 0.8765 GB, free: 15.68 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.01279/0.8613, allocations: 11.01 MB / 0.8873 GB, free: 11.87 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005101/0.8664, allocations: 4.862 MB / 0.892 GB, free: 11.59 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003012/0.8694, allocations: 2.519 MB / 0.8945 GB, free: 11.56 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007725/0.8702, allocations: 0.8604 MB / 0.8953 GB, free: 10.71 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.8702, allocations: 83.45 kB / 0.8954 GB, free: 10.67 MB / 0.67 GB Notification: Performance of pre-optimization done (n=399): time 5.059e-06/0.8702, allocations: 1.719 kB / 0.8954 GB, free: 10.67 MB / 0.67 GB Notification: Performance of matching and sorting (n=399): time 0.008285/0.8785, allocations: 6.029 MB / 0.9013 GB, free: 10.1 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.8786, allocations: 94.14 kB / 0.9014 GB, free: 10.03 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.8798, allocations: 1.228 MB / 0.9026 GB, free: 9.883 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001708/0.88, allocations: 95.73 kB / 0.9027 GB, free: 9.852 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003425/0.8803, allocations: 0.8117 MB / 0.9035 GB, free: 9.52 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006393/0.881, allocations: 1.332 MB / 0.9048 GB, free: 8.648 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006712/0.8817, allocations: 0.5473 MB / 0.9053 GB, free: 8.621 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 3.078e-05/0.8817, allocations: 302.2 kB / 0.9056 GB, free: 8.324 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001872/0.8836, allocations: 1.612 MB / 0.9072 GB, free: 8.316 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002021/0.8856, allocations: 1.904 MB / 0.909 GB, free: 8.164 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004186/0.8898, allocations: 3.839 MB / 0.9128 GB, free: 7.973 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.8898, allocations: 1.625 kB / 0.9128 GB, free: 7.973 MB / 0.67 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.004824/0.8946, allocations: 4.186 MB / 0.9169 GB, free: 7.734 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.8947, allocations: 8.844 kB / 0.9169 GB, free: 7.734 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.8947, allocations: 4.531 kB / 0.9169 GB, free: 7.734 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.8947, allocations: 23 kB / 0.9169 GB, free: 7.73 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002341/0.8971, allocations: 0.6836 MB / 0.9176 GB, free: 7.73 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.217e-05/0.8971, allocations: 18.62 kB / 0.9176 GB, free: 7.73 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/0.8991, allocations: 241.2 kB / 0.9178 GB, free: 7.598 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001896/0.8993, allocations: 113 kB / 0.9179 GB, free: 7.598 MB / 0.67 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.0009434/0.9003, allocations: 0.7305 MB / 0.9186 GB, free: 7.48 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003578/0.9006, allocations: 241.1 kB / 0.9189 GB, free: 7.359 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005538/0.9062, allocations: 4.64 MB / 0.9234 GB, free: 7.137 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/0.9062, allocations: 40.08 kB / 0.9234 GB, free: 7.137 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.9062, allocations: 7.812 kB / 0.9234 GB, free: 7.133 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004376/0.9106, allocations: 3.951 MB / 0.9273 GB, free: 6.863 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008867/0.9195, allocations: 8.291 MB / 0.9354 GB, free: 4.066 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/0.9195, allocations: 1.625 kB / 0.9354 GB, free: 4.066 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002352/0.9219, allocations: 0.6615 MB / 0.936 GB, free: 3.523 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003472/0.9222, allocations: 139.9 kB / 0.9362 GB, free: 3.402 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001666/0.9224, allocations: 83.67 kB / 0.9362 GB, free: 3.328 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002615/0.925, allocations: 5.044 MB / 0.9412 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.925, allocations: 0 / 0.9412 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008564/0.9336, allocations: 6.812 MB / 0.9478 GB, free: 7.277 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/0.9348, allocations: 0.7706 MB / 0.9486 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003115/0.9351, allocations: 64.88 kB / 0.9486 GB, free: 6.422 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001661/0.9368, allocations: 88 kB / 0.9487 GB, free: 6.34 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003724/0.9372, allocations: 225.9 kB / 0.9489 GB, free: 6.121 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002064/0.9374, allocations: 113 kB / 0.949 GB, free: 6.012 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001003/0.9384, allocations: 0.8606 MB / 0.9499 GB, free: 5.148 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7.81e-07/0.9384, allocations: 0.9062 kB / 0.9499 GB, free: 5.148 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002027/0.9404, allocations: 1.074 MB / 0.9509 GB, free: 4.074 MB / 0.6856 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.00923/0.9497, allocations: 7.619 MB / 0.9584 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01996/0.9696, allocations: 11.48 MB / 0.9696 GB, free: 1.07 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.9696, allocations: 5 kB / 0.9696 GB, free: 1.066 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002964/0.9726, allocations: 2.55 MB / 0.9721 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004149/0.9768, allocations: 1.086 MB / 0.9731 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02991/1.007, allocations: 24.95 MB / 0.9975 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001446/1.008, allocations: 1.942 MB / 0.9994 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002952/1.011, allocations: 1.227 MB / 1.001 GB, free: 356 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001542/1.013, allocations: 1.099 MB / 1.002 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of SimCode: time 5.11e-07/1.013, allocations: 0 / 1.002 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09213/1.105, allocations: 66.33 MB / 1.066 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.326/10.43, allocations: 11.88 kB / 1.066 GB, free: 13.79 MB / 0.8106 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)