Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature.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.Validation.OpenDoorTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorTemperature",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.001276/0.001276, allocations: 108 kB / 15.61 MB, free: 152 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.001273/0.001273, allocations: 194.8 kB / 16.53 MB, free: 6.664 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.294/1.294, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002181/0.002181, allocations: 282.9 kB / 290.7 MB, free: 2.031 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9301/0.9301, allocations: 169.2 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 110.5 kB / 0.5953 GB, free: 27.81 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1282, allocations: 86.97 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature): time 0.4165/0.5447, allocations: 184.5 MB / 0.8604 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006753/0.5515, allocations: 5.536 MB / 0.8658 GB, free: 368 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004445/0.552, allocations: 14.16 kB / 0.8659 GB, free: 364 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.5532, allocations: 0.5782 MB / 0.8664 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003503/0.5567, allocations: 1.832 MB / 0.8682 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.5583, allocations: 0.6805 MB / 0.8689 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001723/0.56, allocations: 2.148 MB / 0.871 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007809/0.5608, allocations: 0.7296 MB / 0.8717 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/0.5619, allocations: 0.9213 MB / 0.8726 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008493/0.5628, allocations: 0.8288 MB / 0.8734 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001324/0.5629, allocations: 88.38 kB / 0.8735 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002981/0.5659, allocations: 1.999 MB / 0.8754 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003798/0.5663, allocations: 468.3 kB / 0.8759 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005356/0.5668, allocations: 0.5913 MB / 0.8765 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002408/0.5692, allocations: 2.133 MB / 0.8785 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.243e-05/0.5693, allocations: 0 / 0.8785 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5693, allocations: 3.938 kB / 0.8785 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.5693, allocations: 0 / 0.8785 GB, free: 8.395 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.003533/0.5728, allocations: 1.683 MB / 0.8802 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.5729, allocations: 9.375 kB / 0.8802 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001493/0.573, allocations: 140.2 kB / 0.8803 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005657/0.5736, allocations: 167 kB / 0.8805 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000809/0.5744, allocations: 0.6221 MB / 0.8811 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.314e-05/0.5745, allocations: 68.45 kB / 0.8812 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.5746, allocations: 83.38 kB / 0.8812 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/0.5762, allocations: 1.194 MB / 0.8824 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.5762, allocations: 0 / 0.8824 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.49e-05/0.5763, allocations: 35.06 kB / 0.8824 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.797e-05/0.5764, allocations: 54.34 kB / 0.8825 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00203/0.5784, allocations: 1.511 MB / 0.884 GB, free: 5.043 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.00438/0.5828, allocations: 3.568 MB / 0.8874 GB, free: 2.277 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/0.5846, allocations: 1.443 MB / 0.8889 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008728/0.5855, allocations: 0.6903 MB / 0.8895 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008564/0.5864, allocations: 0.962 MB / 0.8905 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009282/0.5873, allocations: 0.7007 MB / 0.8912 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=123): time 2.534e-06/0.5873, allocations: 0 / 0.8912 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of matching and sorting (n=123): time 0.00276/0.5901, allocations: 1.844 MB / 0.893 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.5901, allocations: 94.05 kB / 0.893 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009044/0.591, allocations: 0.8407 MB / 0.8939 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.469e-05/0.5911, allocations: 45.7 kB / 0.8939 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002443/0.5914, allocations: 365.1 kB / 0.8943 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002755/0.5917, allocations: 414 kB / 0.8947 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002964/0.592, allocations: 202.9 kB / 0.8948 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.5921, allocations: 357.9 kB / 0.8952 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007308/0.5928, allocations: 0.5022 MB / 0.8957 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00084/0.5937, allocations: 0.6471 MB / 0.8963 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001677/0.5954, allocations: 1.285 MB / 0.8976 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.5954, allocations: 0 / 0.8976 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002082/0.5975, allocations: 1.489 MB / 0.899 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.738e-05/0.5975, allocations: 41.73 kB / 0.8991 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.5975, allocations: 7.984 kB / 0.8991 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.5975, allocations: 8 kB / 0.8991 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009277/0.5985, allocations: 221.2 kB / 0.8993 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.715e-05/0.5985, allocations: 11.94 kB / 0.8993 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006938/0.5992, allocations: 102.8 kB / 0.8994 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.632e-05/0.5993, allocations: 48.03 kB / 0.8994 GB, free: 6.203 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 (bouTem.nextEventScaled,bouTem.nextEvent,$PRE.bouTem.nextEvent,bouTem.last,bouTem.b,bouTem.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 1 * 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.0004127/0.5997, allocations: 380.4 kB / 0.8998 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.5999, allocations: 102.8 kB / 0.8999 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/0.6023, allocations: 1.588 MB / 0.9015 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.6023, allocations: 12 kB / 0.9015 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.6023, allocations: 0 / 0.9015 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.6023, allocations: 7.984 kB / 0.9015 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004495/0.6068, allocations: 3.286 MB / 0.9047 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.6068, allocations: 8 kB / 0.9047 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008543/0.6077, allocations: 210.2 kB / 0.9049 GB, free: 444 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.226e-05/0.6077, allocations: 12 kB / 0.9049 GB, free: 432 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.405e-05/0.6078, allocations: 39.98 kB / 0.9049 GB, free: 392 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.048e-05/0.6078, allocations: 12 kB / 0.905 GB, free: 380 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.6078, allocations: 11.88 kB / 0.905 GB, free: 368 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003088/0.6109, allocations: 2.493 MB / 0.9074 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004441/0.6114, allocations: 327.3 kB / 0.9077 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001719/0.6116, allocations: 31.98 kB / 0.9077 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006163/0.6122, allocations: 28 kB / 0.9078 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.6124, allocations: 96.78 kB / 0.9079 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.648e-05/0.6124, allocations: 43.98 kB / 0.9079 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006801/0.6131, allocations: 0.5966 MB / 0.9085 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.21e-07/0.6131, allocations: 0 / 0.9085 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008776/0.614, allocations: 367.8 kB / 0.9088 GB, free: 12.28 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 2 (dooDis.mExcAB,dooDis.mExcBA) * Number of discrete variables: 6 ($whenCondition1,bouTem.a,bouTem.b,bouTem.last,bouTem.nextEvent,bouTem.nextEventScaled) * Number of discrete states: 6 (bouTem.nextEvent,bouTem.last,bouTem.nextEventScaled,bouTem.b,bouTem.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.003765/0.6178, allocations: 3.222 MB / 0.912 GB, free: 8.965 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00274/0.6205, allocations: 1.826 MB / 0.9138 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.6206, allocations: 4.562 kB / 0.9138 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009063/0.6215, allocations: 0.7388 MB / 0.9145 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002081/0.6236, allocations: 448.8 kB / 0.9149 GB, free: 5.938 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0125/0.6361, allocations: 10.29 MB / 0.925 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006339/0.6367, allocations: 1.102 MB / 0.926 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001232/0.638, allocations: 444 kB / 0.9265 GB, free: 9.645 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005219/0.6385, allocations: 362.8 kB / 0.9268 GB, free: 9.297 MB / 0.6387 GB Notification: Performance of SimCode: time 5.21e-07/0.6385, allocations: 4 kB / 0.9268 GB, free: 9.293 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04936/0.6879, allocations: 27.44 MB / 0.9536 GB, free: 14.21 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.674/8.362, allocations: 21.67 kB / 0.9536 GB, free: 14.2 MB / 0.67 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature_res.csv --start-time 0 --stop-time 28800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 600 BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorTemperature.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature.pipe 2>&1)