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.001494/0.001494, allocations: 101.4 kB / 15.7 MB, free: 28 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.001519/0.001519, allocations: 195.6 kB / 16.64 MB, free: 6.438 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.421/1.421, allocations: 222.9 MB / 240.3 MB, free: 4.363 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 1.008/1.008, allocations: 143 MB / 433.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 60.14 kB / 0.5144 GB, free: 11.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1932, allocations: 82.03 MB / 0.5945 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors): time 0.5592/0.7524, allocations: 218.7 MB / 0.8081 GB, free: 2.266 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02597/0.7784, allocations: 20.45 MB / 0.8281 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002919/0.7814, allocations: 59.69 kB / 0.8281 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003147/0.7846, allocations: 1.243 MB / 0.8293 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.009773/0.7944, allocations: 4.084 MB / 0.8333 GB, free: 8.352 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004227/0.7986, allocations: 1.548 MB / 0.8348 GB, free: 6.809 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008887/0.8075, allocations: 6.967 MB / 0.8417 GB, free: 15.82 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003595/0.8111, allocations: 2.352 MB / 0.8439 GB, free: 13.43 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005269/0.8164, allocations: 2.368 MB / 0.8463 GB, free: 11.05 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005802/0.8223, allocations: 2.457 MB / 0.8487 GB, free: 8.602 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001358/0.8237, allocations: 344 kB / 0.849 GB, free: 8.266 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009598/0.8333, allocations: 3.457 MB / 0.8524 GB, free: 4.801 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.003411/0.8367, allocations: 1.457 MB / 0.8538 GB, free: 3.34 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.006342/0.8431, allocations: 1.863 MB / 0.8556 GB, free: 1.469 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.4836/1.327, allocations: 5.977 MB / 0.8614 GB, free: 17.7 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.102e-05/1.327, allocations: 0 / 0.8614 GB, free: 17.7 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.364e-06/1.327, allocations: 1.094 kB / 0.8614 GB, free: 17.7 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001815/1.327, allocations: 0 / 0.8614 GB, free: 17.7 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.01272/1.34, allocations: 3.941 MB / 0.8653 GB, free: 16.25 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/1.34, allocations: 11.12 kB / 0.8653 GB, free: 16.25 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006687/1.341, allocations: 388.9 kB / 0.8657 GB, free: 16.2 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005156/1.346, allocations: 0.8256 MB / 0.8665 GB, free: 16.04 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004395/1.35, allocations: 1.949 MB / 0.8684 GB, free: 15.54 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/1.35, allocations: 200.1 kB / 0.8686 GB, free: 15.54 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006653/1.351, allocations: 270.5 kB / 0.8688 GB, free: 15.53 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005423/1.356, allocations: 3.288 MB / 0.872 GB, free: 15.4 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.226e-05/1.356, allocations: 3.094 kB / 0.872 GB, free: 15.4 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002682/1.357, allocations: 110.8 kB / 0.8722 GB, free: 15.4 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001124/1.357, allocations: 126.4 kB / 0.8723 GB, free: 15.39 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007289/1.364, allocations: 4.618 MB / 0.8768 GB, free: 15.36 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.02004/1.384, allocations: 10.94 MB / 0.8875 GB, free: 11.56 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00701/1.391, allocations: 4.864 MB / 0.8922 GB, free: 11.28 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00467/1.396, allocations: 2.519 MB / 0.8947 GB, free: 11.25 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001233/1.397, allocations: 0.8628 MB / 0.8955 GB, free: 10.4 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.38e-05/1.397, allocations: 77.55 kB / 0.8956 GB, free: 10.36 MB / 0.67 GB Notification: Performance of pre-optimization done (n=399): time 1.007e-05/1.397, allocations: 0.9688 kB / 0.8956 GB, free: 10.36 MB / 0.67 GB Notification: Performance of matching and sorting (n=399): time 0.01406/1.411, allocations: 6.027 MB / 0.9015 GB, free: 9.789 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/1.412, allocations: 94.69 kB / 0.9016 GB, free: 9.723 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002306/1.414, allocations: 1.23 MB / 0.9028 GB, free: 9.574 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0006395/1.414, allocations: 91.92 kB / 0.9029 GB, free: 9.543 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006008/1.415, allocations: 0.8166 MB / 0.9037 GB, free: 9.211 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001559/1.417, allocations: 1.332 MB / 0.905 GB, free: 8.34 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001555/1.418, allocations: 0.5474 MB / 0.9055 GB, free: 8.312 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.09e-05/1.418, allocations: 302.1 kB / 0.9058 GB, free: 8.016 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002942/1.421, allocations: 1.602 MB / 0.9073 GB, free: 8.008 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003346/1.425, allocations: 1.911 MB / 0.9092 GB, free: 7.859 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006635/1.431, allocations: 3.833 MB / 0.913 GB, free: 7.668 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.216e-05/1.431, allocations: 0.8125 kB / 0.913 GB, free: 7.668 MB / 0.67 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007778/1.439, allocations: 4.193 MB / 0.9171 GB, free: 7.43 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/1.439, allocations: 3.5 kB / 0.9171 GB, free: 7.43 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/1.439, allocations: 3.438 kB / 0.9171 GB, free: 7.43 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.591e-05/1.439, allocations: 22.41 kB / 0.9171 GB, free: 7.426 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003025/1.442, allocations: 0.6839 MB / 0.9177 GB, free: 7.426 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.485e-05/1.442, allocations: 19.25 kB / 0.9178 GB, free: 7.426 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003287/1.446, allocations: 245.8 kB / 0.918 GB, free: 7.293 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005941/1.446, allocations: 109.8 kB / 0.9181 GB, free: 7.293 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.002489/1.449, allocations: 0.7325 MB / 0.9188 GB, free: 7.176 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001213/1.45, allocations: 242.3 kB / 0.9191 GB, free: 7.055 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009176/1.459, allocations: 4.633 MB / 0.9236 GB, free: 6.832 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-05/1.459, allocations: 38.08 kB / 0.9236 GB, free: 6.832 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-05/1.459, allocations: 8.531 kB / 0.9236 GB, free: 6.828 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00612/1.465, allocations: 3.95 MB / 0.9275 GB, free: 6.559 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01442/1.48, allocations: 8.29 MB / 0.9356 GB, free: 3.648 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.625e-05/1.48, allocations: 0 / 0.9356 GB, free: 3.648 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003/1.483, allocations: 0.655 MB / 0.9362 GB, free: 3.109 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006359/1.484, allocations: 145.3 kB / 0.9364 GB, free: 2.988 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006698/1.484, allocations: 82.8 kB / 0.9364 GB, free: 2.914 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004279/1.489, allocations: 5.042 MB / 0.9414 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.489, allocations: 0 / 0.9414 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01476/1.503, allocations: 6.821 MB / 0.948 GB, free: 6.793 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002312/1.506, allocations: 0.7706 MB / 0.9488 GB, free: 6 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008618/1.507, allocations: 64.72 kB / 0.9488 GB, free: 5.938 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00265/1.509, allocations: 90.73 kB / 0.9489 GB, free: 5.855 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006317/1.51, allocations: 226.7 kB / 0.9491 GB, free: 5.637 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004381/1.51, allocations: 116.8 kB / 0.9492 GB, free: 5.523 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001697/1.512, allocations: 0.8606 MB / 0.9501 GB, free: 4.66 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.7e-07/1.512, allocations: 1.906 kB / 0.9501 GB, free: 4.66 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004131/1.516, allocations: 1.073 MB / 0.9511 GB, free: 3.586 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.01291/1.529, allocations: 7.617 MB / 0.9586 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.007927/1.537, allocations: 4.058 MB / 0.9625 GB, free: 7.969 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/1.537, allocations: 5.203 kB / 0.9625 GB, free: 7.965 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.004474/1.542, allocations: 2.55 MB / 0.965 GB, free: 5.453 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006669/1.548, allocations: 1.083 MB / 0.9661 GB, free: 4.469 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04518/1.594, allocations: 23 MB / 0.9886 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002436/1.596, allocations: 1.945 MB / 0.9905 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.004991/1.601, allocations: 1.223 MB / 0.9916 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002566/1.604, allocations: 1.085 MB / 0.9927 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of SimCode: time 1.443e-06/1.604, allocations: 0 / 0.9927 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1144/1.718, allocations: 66.34 MB / 1.057 GB, free: 7.594 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.85/17.57, allocations: 12.47 kB / 1.058 GB, free: 7.586 MB / 0.795 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ClosedDoors.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)