Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneOpenDoor",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.001061/0.001061, 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.00108/0.00108, allocations: 197.7 kB / 16.54 MB, free: 6.672 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.312/1.312, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002035/0.002035, allocations: 278.8 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9464/0.9464, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 97.61 kB / 0.5953 GB, free: 27.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1527, allocations: 86.98 MB / 0.6803 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor): time 0.4665/0.6192, allocations: 166.9 MB / 0.8433 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01311/0.6324, allocations: 8.485 MB / 0.8516 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001867/0.6343, allocations: 37.31 kB / 0.8516 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001445/0.6357, allocations: 0.5743 MB / 0.8522 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003702/0.6395, allocations: 1.539 MB / 0.8537 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002187/0.6417, allocations: 0.9855 MB / 0.8546 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003442/0.6451, allocations: 4.107 MB / 0.8586 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00176/0.6469, allocations: 1.309 MB / 0.8599 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002912/0.6498, allocations: 1.492 MB / 0.8614 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002182/0.652, allocations: 1.509 MB / 0.8628 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000479/0.6525, allocations: 185.6 kB / 0.863 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002281/0.6548, allocations: 1.112 MB / 0.8641 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005593/0.6554, allocations: 0.6751 MB / 0.8648 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000989/0.6564, allocations: 1.027 MB / 0.8658 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002407/0.6588, allocations: 2.735 MB / 0.8684 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6588, allocations: 0 / 0.8684 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6588, allocations: 2.562 kB / 0.8684 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.92e-05/0.6588, allocations: 0 / 0.8684 GB, free: 1.328 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.003873/0.6627, allocations: 2.266 MB / 0.8707 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.6627, allocations: 7.969 kB / 0.8707 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002418/0.663, allocations: 225.5 kB / 0.8709 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004254/0.6634, allocations: 194 kB / 0.8711 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001623/0.6651, allocations: 1.143 MB / 0.8722 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.879e-05/0.6651, allocations: 111.8 kB / 0.8723 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001993/0.6653, allocations: 150 kB / 0.8724 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002642/0.668, allocations: 1.92 MB / 0.8743 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.179e-05/0.668, allocations: 4 kB / 0.8743 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001401/0.6682, allocations: 68.39 kB / 0.8744 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.623e-05/0.6682, allocations: 37.5 kB / 0.8744 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00349/0.6717, allocations: 2.471 MB / 0.8768 GB, free: 12.23 MB / 0.5919 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.007199/0.6789, allocations: 6.146 MB / 0.8828 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003482/0.6824, allocations: 2.814 MB / 0.8856 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001952/0.6844, allocations: 1.421 MB / 0.887 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001519/0.6859, allocations: 1.73 MB / 0.8886 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/0.686, allocations: 64.48 kB / 0.8887 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=237): time 3.517e-06/0.686, allocations: 0 / 0.8887 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of matching and sorting (n=237): time 0.005187/0.6912, allocations: 3.43 MB / 0.8921 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.6912, allocations: 77.41 kB / 0.8921 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008691/0.6921, allocations: 0.7782 MB / 0.8929 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.6922, allocations: 65.7 kB / 0.893 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003043/0.6925, allocations: 498.1 kB / 0.8934 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005291/0.6931, allocations: 0.7892 MB / 0.8942 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004603/0.6935, allocations: 347.6 kB / 0.8945 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.445e-05/0.6936, allocations: 301.1 kB / 0.8948 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/0.695, allocations: 0.904 MB / 0.8957 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/0.6965, allocations: 1.121 MB / 0.8968 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003119/0.6997, allocations: 2.227 MB / 0.899 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.6997, allocations: 4 kB / 0.899 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003686/0.7034, allocations: 2.432 MB / 0.9013 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.7034, allocations: 6.344 kB / 0.9014 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.7034, allocations: 7.938 kB / 0.9014 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.7035, allocations: 12.47 kB / 0.9014 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/0.7051, allocations: 447.4 kB / 0.9018 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.216e-05/0.7051, allocations: 12 kB / 0.9018 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009522/0.7061, allocations: 158.3 kB / 0.902 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/0.7062, allocations: 71.98 kB / 0.902 GB, free: 3.035 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (261): * Single equations (assignments): 261 * 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.0005802/0.7068, allocations: 441.2 kB / 0.9025 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002489/0.7071, allocations: 138.3 kB / 0.9026 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004336/0.7114, allocations: 2.735 MB / 0.9053 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.938e-05/0.7115, allocations: 24 kB / 0.9053 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.7115, allocations: 3.984 kB / 0.9053 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003383/0.7149, allocations: 2.377 MB / 0.9076 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00606/0.7209, allocations: 4.306 MB / 0.9118 GB, free: 8.859 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.721, allocations: 0 / 0.9118 GB, free: 8.859 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00161/0.7226, allocations: 409.4 kB / 0.9122 GB, free: 8.461 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005621/0.7231, allocations: 101.7 kB / 0.9123 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001542/0.7233, allocations: 51.98 kB / 0.9123 GB, free: 8.305 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006906/0.724, allocations: 1.124 MB / 0.9134 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.724, allocations: 4 kB / 0.9134 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005927/0.73, allocations: 4.057 MB / 0.9174 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006981/0.7307, allocations: 474.7 kB / 0.9179 GB, free: 2.559 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000221/0.7309, allocations: 39.94 kB / 0.9179 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009048/0.7318, allocations: 55.97 kB / 0.918 GB, free: 2.465 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000281/0.7321, allocations: 133.8 kB / 0.9181 GB, free: 2.332 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/0.7322, allocations: 79.91 kB / 0.9182 GB, free: 2.254 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007079/0.733, allocations: 0.5459 MB / 0.9187 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.733, allocations: 0 / 0.9187 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001767/0.7347, allocations: 0.6552 MB / 0.9193 GB, free: 1.055 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.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 (237): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007079/0.7418, allocations: 4.889 MB / 0.9241 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.008583/0.7504, allocations: 4.855 MB / 0.9288 GB, free: 7.277 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.7504, allocations: 0.9375 kB / 0.9288 GB, free: 7.277 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001937/0.7524, allocations: 1.284 MB / 0.9301 GB, free: 5.992 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002516/0.7549, allocations: 0.5726 MB / 0.9307 GB, free: 5.438 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0199/0.7748, allocations: 14.26 MB / 0.9446 GB, free: 6.676 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000932/0.7758, allocations: 1.335 MB / 0.9459 GB, free: 5.312 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00195/0.7777, allocations: 0.7266 MB / 0.9466 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009149/0.7787, allocations: 0.6242 MB / 0.9472 GB, free: 3.953 MB / 0.6544 GB Notification: Performance of SimCode: time 5.81e-07/0.7787, allocations: 0 / 0.9472 GB, free: 3.953 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06875/0.8474, allocations: 39.44 MB / 0.9857 GB, free: 13 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/12.29, allocations: 4.062 kB / 0.9857 GB, free: 13 MB / 0.7012 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneOpenDoor.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)