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.004757/0.004757, allocations: 97.75 kB / 15.73 MB, free: 6.004 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.001113/0.001113, allocations: 192.6 kB / 16.67 MB, free: 5.934 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.263/1.263, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00219/0.002189, allocations: 271.2 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9135/0.9135, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 91.86 kB / 0.681 GB, free: 16 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1633, allocations: 86.98 MB / 0.7659 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature): time 0.5464/0.7098, allocations: 184.5 MB / 0.9461 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007064/0.7169, allocations: 5.543 MB / 0.9515 GB, free: 5.066 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006242/0.7175, allocations: 15.94 kB / 0.9515 GB, free: 5.051 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001331/0.7189, allocations: 0.5947 MB / 0.9521 GB, free: 4.453 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.003876/0.7228, allocations: 1.894 MB / 0.9539 GB, free: 2.555 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.7245, allocations: 0.6847 MB / 0.9546 GB, free: 1.875 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002145/0.7267, allocations: 2.163 MB / 0.9567 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008406/0.7275, allocations: 0.7276 MB / 0.9574 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001307/0.7288, allocations: 0.9541 MB / 0.9583 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008789/0.7297, allocations: 0.8216 MB / 0.9591 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.7299, allocations: 88 kB / 0.9592 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003256/0.7331, allocations: 2.003 MB / 0.9612 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004409/0.7336, allocations: 474.7 kB / 0.9616 GB, free: 10.63 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005798/0.7342, allocations: 0.5832 MB / 0.9622 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002916/0.7371, allocations: 2.167 MB / 0.9643 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.7371, allocations: 4 kB / 0.9643 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7371, allocations: 0 / 0.9643 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.7371, allocations: 0 / 0.9643 GB, free: 7.867 MB / 0.7169 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.003635/0.7408, allocations: 1.718 MB / 0.966 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.7408, allocations: 8.031 kB / 0.966 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001489/0.741, allocations: 147.6 kB / 0.9661 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005922/0.7416, allocations: 159.2 kB / 0.9663 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009776/0.7426, allocations: 0.6465 MB / 0.9669 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.176e-05/0.7426, allocations: 69.98 kB / 0.967 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.7428, allocations: 84 kB / 0.9671 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.7444, allocations: 1.192 MB / 0.9682 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.7444, allocations: 0 / 0.9682 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.443e-05/0.7445, allocations: 44.62 kB / 0.9683 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.186e-05/0.7446, allocations: 45.98 kB / 0.9683 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002118/0.7467, allocations: 1.507 MB / 0.9698 GB, free: 2.137 MB / 0.7169 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.004784/0.7515, allocations: 3.556 MB / 0.9733 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001867/0.7534, allocations: 1.446 MB / 0.9747 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008661/0.7543, allocations: 0.7001 MB / 0.9754 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008631/0.7551, allocations: 0.9542 MB / 0.9763 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009438/0.7561, allocations: 0.6929 MB / 0.977 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=123): time 2.845e-06/0.7561, allocations: 0 / 0.977 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=123): time 0.002821/0.7589, allocations: 1.856 MB / 0.9788 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.364e-05/0.759, allocations: 94.11 kB / 0.9789 GB, free: 8.344 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009437/0.76, allocations: 0.8368 MB / 0.9797 GB, free: 7.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.543e-05/0.7601, allocations: 49.7 kB / 0.9797 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002598/0.7603, allocations: 365.6 kB / 0.9801 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003051/0.7606, allocations: 432.3 kB / 0.9805 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002891/0.7609, allocations: 206.9 kB / 0.9807 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.7611, allocations: 361.9 kB / 0.981 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007328/0.7618, allocations: 0.5037 MB / 0.9815 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008224/0.7626, allocations: 0.6471 MB / 0.9822 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001599/0.7642, allocations: 1.282 MB / 0.9834 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.7643, allocations: 4 kB / 0.9834 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002074/0.7663, allocations: 1.497 MB / 0.9849 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.253e-05/0.7664, allocations: 37.69 kB / 0.9849 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.679e-06/0.7664, allocations: 4 kB / 0.9849 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.7664, allocations: 8 kB / 0.9849 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008966/0.7673, allocations: 220 kB / 0.9851 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/0.7673, allocations: 15.94 kB / 0.9852 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006881/0.768, allocations: 119.1 kB / 0.9853 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.217e-05/0.7681, allocations: 43.98 kB / 0.9853 GB, free: 1.625 MB / 0.7325 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.0004396/0.7686, allocations: 370.6 kB / 0.9857 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.7687, allocations: 115.3 kB / 0.9858 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002304/0.771, allocations: 1.58 MB / 0.9873 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.7711, allocations: 16 kB / 0.9873 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.7711, allocations: 2.125 kB / 0.9873 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.7711, allocations: 11.97 kB / 0.9873 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004453/0.7756, allocations: 3.286 MB / 0.9906 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.7756, allocations: 8.734 kB / 0.9906 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008119/0.7764, allocations: 207.7 kB / 0.9908 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.21e-05/0.7764, allocations: 12 kB / 0.9908 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.375e-05/0.7765, allocations: 39.98 kB / 0.9908 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.257e-05/0.7765, allocations: 11.94 kB / 0.9908 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.7765, allocations: 11.94 kB / 0.9908 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003/0.7795, allocations: 2.494 MB / 0.9933 GB, free: 9.195 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005397/0.7801, allocations: 332 kB / 0.9936 GB, free: 8.852 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/0.7803, allocations: 31.98 kB / 0.9936 GB, free: 8.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005848/0.7809, allocations: 31.94 kB / 0.9936 GB, free: 8.789 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.781, allocations: 92.83 kB / 0.9937 GB, free: 8.699 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.172e-05/0.7811, allocations: 44 kB / 0.9938 GB, free: 8.656 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006994/0.7818, allocations: 0.5966 MB / 0.9944 GB, free: 8.062 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7818, allocations: 0 / 0.9944 GB, free: 8.062 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008788/0.7827, allocations: 367.6 kB / 0.9947 GB, free: 7.703 MB / 0.7481 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.004039/0.7867, allocations: 3.235 MB / 0.9979 GB, free: 4.371 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001878/0.7886, allocations: 1.366 MB / 0.9992 GB, free: 2.996 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.7886, allocations: 4.062 kB / 0.9992 GB, free: 2.992 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008871/0.7895, allocations: 0.7349 MB / 0.9999 GB, free: 2.242 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001955/0.7915, allocations: 448.3 kB / 1 GB, free: 1.816 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/0.804, allocations: 9.941 MB / 1.01 GB, free: 7.555 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/0.805, allocations: 1.109 MB / 1.011 GB, free: 6.414 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001253/0.8063, allocations: 428.1 kB / 1.012 GB, free: 5.992 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005376/0.8068, allocations: 371.3 kB / 1.012 GB, free: 5.629 MB / 0.7637 GB Notification: Performance of SimCode: time 7.31e-07/0.8068, allocations: 0 / 1.012 GB, free: 5.629 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05252/0.8594, allocations: 27.68 MB / 1.039 GB, free: 10.35 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.266/10.13, allocations: 26.88 kB / 1.039 GB, free: 10.33 MB / 0.795 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)