Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.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.DoorOpenClosed,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_DoorOpenClosed",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.001192/0.001192, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001209/0.001209, allocations: 196.6 kB / 16.14 MB, free: 6.734 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.232/1.232, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002019/0.002019, allocations: 278.4 kB / 290.2 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8858/0.8858, allocations: 169.2 MB / 0.4977 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 91 kB / 0.5946 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1213, allocations: 86.98 MB / 0.6795 GB, free: 1.059 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed): time 0.4016/0.5229, allocations: 196.4 MB / 0.8714 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009829/0.5328, allocations: 9.5 MB / 0.8806 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005468/0.5333, allocations: 14.19 kB / 0.8806 GB, free: 3.855 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001228/0.5346, allocations: 0.5188 MB / 0.8811 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003574/0.5382, allocations: 1.902 MB / 0.883 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.5396, allocations: 0.6749 MB / 0.8837 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002182/0.5418, allocations: 3.177 MB / 0.8868 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006971/0.5425, allocations: 0.6355 MB / 0.8874 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001639/0.5442, allocations: 1.264 MB / 0.8886 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006991/0.5449, allocations: 0.7807 MB / 0.8894 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.125e-05/0.545, allocations: 48.12 kB / 0.8894 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002763/0.5478, allocations: 2.228 MB / 0.8916 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002969/0.5481, allocations: 334 kB / 0.8919 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000399/0.5485, allocations: 482.9 kB / 0.8924 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001896/0.5504, allocations: 1.933 MB / 0.8943 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.5504, allocations: 0 / 0.8943 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.12e-07/0.5504, allocations: 0 / 0.8943 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.5504, allocations: 0 / 0.8943 GB, free: 11.32 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.003091/0.5535, allocations: 1.44 MB / 0.8957 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.5536, allocations: 11.84 kB / 0.8957 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001225/0.5537, allocations: 121.9 kB / 0.8958 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006007/0.5543, allocations: 144.2 kB / 0.8959 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007033/0.555, allocations: 0.5668 MB / 0.8965 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.596e-05/0.555, allocations: 50 kB / 0.8965 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.419e-05/0.5551, allocations: 75.98 kB / 0.8966 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.5564, allocations: 0.8587 MB / 0.8975 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.5564, allocations: 0 / 0.8975 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.9e-05/0.5565, allocations: 24 kB / 0.8975 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-05/0.5565, allocations: 55.36 kB / 0.8975 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.5578, allocations: 0.769 MB / 0.8983 GB, free: 7.734 MB / 0.6075 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.00434/0.5621, allocations: 4.518 MB / 0.9027 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006902/0.5628, allocations: 420.5 kB / 0.9031 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002896/0.5631, allocations: 189.4 kB / 0.9033 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005847/0.5637, allocations: 0.7639 MB / 0.904 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.5637, allocations: 42.83 kB / 0.9041 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 1.503e-06/0.5637, allocations: 0 / 0.9041 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.00116/0.5649, allocations: 0.6025 MB / 0.9047 GB, free: 492 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.565, allocations: 59.34 kB / 0.9047 GB, free: 420 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009343/0.5659, allocations: 0.8642 MB / 0.9056 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.559e-05/0.5659, allocations: 37.7 kB / 0.9056 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002548/0.5662, allocations: 379.7 kB / 0.9059 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.856e-05/0.5663, allocations: 137.9 kB / 0.9061 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.5665, allocations: 106.1 kB / 0.9062 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.92e-05/0.5666, allocations: 322 kB / 0.9065 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003291/0.5669, allocations: 185 kB / 0.9067 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003857/0.5673, allocations: 277.5 kB / 0.9069 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00067/0.568, allocations: 459.4 kB / 0.9074 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.568, allocations: 0 / 0.9074 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009255/0.5689, allocations: 0.5819 MB / 0.9079 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.5689, allocations: 8 kB / 0.9079 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.5689, allocations: 224 / 0.9079 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.569, allocations: 8 kB / 0.908 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00047/0.5694, allocations: 99.89 kB / 0.908 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.5695, allocations: 11.88 kB / 0.9081 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005971/0.5701, allocations: 103.1 kB / 0.9082 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.633e-05/0.5701, allocations: 23.98 kB / 0.9082 GB, free: 12.76 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (57): * Single equations (assignments): 57 * 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.000258/0.5704, allocations: 237.7 kB / 0.9084 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.5705, allocations: 82.97 kB / 0.9085 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009304/0.5714, allocations: 0.5554 MB / 0.909 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.5714, allocations: 4 kB / 0.909 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.5715, allocations: 3.938 kB / 0.909 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.5715, allocations: 7.922 kB / 0.909 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002938/0.5744, allocations: 2.112 MB / 0.9111 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.5744, allocations: 7.938 kB / 0.9111 GB, free: 9.559 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004044/0.5748, allocations: 95.83 kB / 0.9112 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.071e-05/0.5749, allocations: 8 kB / 0.9112 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.354e-05/0.5749, allocations: 16.66 kB / 0.9112 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.768e-06/0.5749, allocations: 19.92 kB / 0.9112 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.5749, allocations: 8 kB / 0.9113 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.5761, allocations: 0.9794 MB / 0.9122 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002517/0.5764, allocations: 215.9 kB / 0.9124 GB, free: 8.109 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.5765, allocations: 12 kB / 0.9124 GB, free: 8.098 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005751/0.5771, allocations: 51.95 kB / 0.9125 GB, free: 8.047 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.622e-05/0.5772, allocations: 51.83 kB / 0.9125 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/0.5772, allocations: 20.05 kB / 0.9125 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006901/0.5779, allocations: 0.6239 MB / 0.9132 GB, free: 7.359 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5779, allocations: 0 / 0.9132 GB, free: 7.359 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006394/0.5786, allocations: 255.6 kB / 0.9134 GB, free: 7.109 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 1 (lea.mExc) * 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 (48): * Single equations (assignments): 48 * 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 Backend phase and start with SimCode phase: time 0.001724/0.5803, allocations: 1.652 MB / 0.915 GB, free: 5.355 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007232/0.581, allocations: 454.7 kB / 0.9154 GB, free: 4.914 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.5811, allocations: 448 / 0.9154 GB, free: 4.914 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003613/0.5814, allocations: 236.3 kB / 0.9157 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/0.5835, allocations: 481.7 kB / 0.9161 GB, free: 4.219 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008198/0.5917, allocations: 7.132 MB / 0.9231 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004753/0.5922, allocations: 1.004 MB / 0.9241 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006486/0.5929, allocations: 185.3 kB / 0.9243 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003752/0.5932, allocations: 295.3 kB / 0.9245 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of SimCode: time 2.81e-07/0.5933, allocations: 0 / 0.9245 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6277/1.221, allocations: 23.23 MB / 0.9472 GB, free: 4.398 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/1.221, allocations: 259.9 kB / 0.9475 GB, free: 4.137 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.081/3.302, allocations: 0 / 0.9475 GB, free: 4.137 MB / 0.6544 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_DoorOpenClosed_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_DoorOpenClosed.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1)