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.005088/0.005088, allocations: 103.7 kB / 15.74 MB, free: 6.449 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.001459/0.001459, allocations: 196 kB / 16.67 MB, free: 6.355 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002351/0.002351, allocations: 286.6 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.004/1.004, allocations: 178.6 MB / 0.5074 GB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002538/0.002538, allocations: 91.84 kB / 0.6943 GB, free: 3.652 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4356/0.4381, allocations: 89.14 MB / 0.7813 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature): time 0.1975/0.6357, allocations: 184.5 MB / 0.9615 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007583/0.6433, allocations: 5.554 MB / 0.9669 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005318/0.6439, allocations: 15.94 kB / 0.9669 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001356/0.6452, allocations: 0.5713 MB / 0.9675 GB, free: 0 / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003997/0.6493, allocations: 1.843 MB / 0.9693 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001736/0.6511, allocations: 0.6733 MB / 0.9699 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002267/0.6533, allocations: 2.155 MB / 0.972 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008674/0.6542, allocations: 0.7354 MB / 0.9728 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001245/0.6555, allocations: 0.9307 MB / 0.9737 GB, free: 9.652 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009525/0.6564, allocations: 0.8177 MB / 0.9745 GB, free: 8.832 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001409/0.6566, allocations: 88 kB / 0.9746 GB, free: 8.746 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003178/0.6598, allocations: 2.007 MB / 0.9765 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004518/0.6602, allocations: 474.8 kB / 0.977 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005849/0.6608, allocations: 0.5832 MB / 0.9775 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002746/0.6636, allocations: 2.153 MB / 0.9796 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.6636, allocations: 4 kB / 0.9796 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6636, allocations: 0 / 0.9796 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.6636, allocations: 0 / 0.9796 GB, free: 3.52 MB / 0.7325 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.003605/0.6672, allocations: 1.714 MB / 0.9813 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.6673, allocations: 16.03 kB / 0.9813 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000161/0.6674, allocations: 139.7 kB / 0.9815 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000556/0.668, allocations: 163.2 kB / 0.9816 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008923/0.6689, allocations: 0.6505 MB / 0.9823 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.394e-05/0.669, allocations: 65.98 kB / 0.9823 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.6691, allocations: 84 kB / 0.9824 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/0.6708, allocations: 1.2 MB / 0.9836 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.6709, allocations: 0 / 0.9836 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.132e-05/0.6709, allocations: 32 kB / 0.9836 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.565e-05/0.671, allocations: 45.98 kB / 0.9836 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002204/0.6732, allocations: 1.51 MB / 0.9851 GB, free: 13.79 MB / 0.7481 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.004688/0.6779, allocations: 3.556 MB / 0.9886 GB, free: 9.992 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002006/0.6799, allocations: 1.442 MB / 0.99 GB, free: 8.551 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000924/0.6809, allocations: 0.6961 MB / 0.9907 GB, free: 7.855 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009384/0.6818, allocations: 0.9697 MB / 0.9916 GB, free: 6.68 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009818/0.6828, allocations: 0.6968 MB / 0.9923 GB, free: 5.965 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=123): time 2.635e-06/0.6828, allocations: 0 / 0.9923 GB, free: 5.965 MB / 0.7481 GB Notification: Performance of matching and sorting (n=123): time 0.002862/0.6857, allocations: 1.844 MB / 0.9941 GB, free: 4.109 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.138e-05/0.6858, allocations: 94.11 kB / 0.9942 GB, free: 4 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009793/0.6868, allocations: 0.8485 MB / 0.995 GB, free: 3.141 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.683e-05/0.6868, allocations: 45.7 kB / 0.9951 GB, free: 3.09 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002837/0.6871, allocations: 361.6 kB / 0.9954 GB, free: 2.73 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000326/0.6875, allocations: 440.3 kB / 0.9958 GB, free: 2.297 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003019/0.6878, allocations: 206.9 kB / 0.996 GB, free: 2.09 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.6879, allocations: 349.9 kB / 0.9964 GB, free: 1.742 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007626/0.6887, allocations: 0.5101 MB / 0.9969 GB, free: 1.23 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008826/0.6896, allocations: 0.651 MB / 0.9975 GB, free: 0.5508 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001746/0.6913, allocations: 1.27 MB / 0.9987 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.6913, allocations: 4 kB / 0.9987 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002139/0.6935, allocations: 1.497 MB / 1 GB, free: 13.72 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.707e-05/0.6935, allocations: 41.69 kB / 1 GB, free: 13.67 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.6936, allocations: 3.938 kB / 1 GB, free: 13.67 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.6936, allocations: 8 kB / 1 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008644/0.6945, allocations: 223.7 kB / 1 GB, free: 13.44 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/0.6945, allocations: 11.94 kB / 1 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006389/0.6951, allocations: 111.1 kB / 1.001 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.951e-05/0.6952, allocations: 48.23 kB / 1.001 GB, free: 13.27 MB / 0.7637 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.0004297/0.6957, allocations: 371.2 kB / 1.001 GB, free: 12.89 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.6958, allocations: 111.3 kB / 1.001 GB, free: 12.79 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002461/0.6983, allocations: 1.581 MB / 1.003 GB, free: 11.18 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.6983, allocations: 12 kB / 1.003 GB, free: 11.17 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.6983, allocations: 3.984 kB / 1.003 GB, free: 11.17 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.6983, allocations: 3.984 kB / 1.003 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004514/0.7029, allocations: 3.301 MB / 1.006 GB, free: 7.711 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.7029, allocations: 4 kB / 1.006 GB, free: 7.707 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007893/0.7037, allocations: 207.7 kB / 1.006 GB, free: 7.504 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-05/0.7037, allocations: 15.98 kB / 1.006 GB, free: 7.488 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.491e-05/0.7038, allocations: 35.94 kB / 1.006 GB, free: 7.453 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.236e-05/0.7038, allocations: 12.59 kB / 1.006 GB, free: 7.441 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.137e-06/0.7038, allocations: 15.94 kB / 1.006 GB, free: 7.426 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003216/0.707, allocations: 2.498 MB / 1.009 GB, free: 4.824 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004203/0.7075, allocations: 324 kB / 1.009 GB, free: 4.488 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/0.7076, allocations: 35.94 kB / 1.009 GB, free: 4.453 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005426/0.7082, allocations: 31.94 kB / 1.009 GB, free: 4.422 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/0.7083, allocations: 92.83 kB / 1.009 GB, free: 4.332 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-05/0.7084, allocations: 43.98 kB / 1.009 GB, free: 4.289 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0006947/0.7091, allocations: 0.5927 MB / 1.01 GB, free: 3.703 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7091, allocations: 0 / 1.01 GB, free: 3.703 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008394/0.71, allocations: 375.6 kB / 1.01 GB, free: 3.336 MB / 0.7637 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.003974/0.7139, allocations: 3.22 MB / 1.013 GB, free: 16 kB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001912/0.7159, allocations: 1.361 MB / 1.015 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.7159, allocations: 0 / 1.015 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0009429/0.7168, allocations: 0.7359 MB / 1.015 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/0.7187, allocations: 456.3 kB / 1.016 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/0.7313, allocations: 9.95 MB / 1.025 GB, free: 3.18 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007166/0.7321, allocations: 1.105 MB / 1.026 GB, free: 2.043 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.00111/0.7332, allocations: 440.1 kB / 1.027 GB, free: 1.609 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005359/0.7337, allocations: 367 kB / 1.027 GB, free: 1.254 MB / 0.7794 GB Notification: Performance of SimCode: time 5.61e-07/0.7337, allocations: 0 / 1.027 GB, free: 1.254 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05619/0.7899, allocations: 27.7 MB / 1.054 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.528/10.32, allocations: 7.875 kB / 1.054 GB, free: 5.957 MB / 0.8106 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)