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.001376/0.001375, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001905/0.001905, allocations: 192 kB / 16.25 MB, free: 6.633 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.319/1.319, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001997/0.001998, allocations: 286.5 kB / 290.3 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9107/0.9107, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 103.5 kB / 0.5948 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1348, allocations: 86.97 MB / 0.6797 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed): time 0.4776/0.6124, allocations: 196.1 MB / 0.8712 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01064/0.6231, allocations: 9.387 MB / 0.8804 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008273/0.624, allocations: 14.09 kB / 0.8804 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001413/0.6254, allocations: 0.5446 MB / 0.8809 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004193/0.6296, allocations: 1.894 MB / 0.8828 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001683/0.6313, allocations: 0.6755 MB / 0.8835 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001943/0.6333, allocations: 2.114 MB / 0.8855 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008272/0.6341, allocations: 0.7283 MB / 0.8862 GB, free: 328 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002049/0.6362, allocations: 1.366 MB / 0.8876 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007625/0.637, allocations: 0.7772 MB / 0.8883 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.147e-05/0.6371, allocations: 70.5 kB / 0.8884 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002796/0.6399, allocations: 2.004 MB / 0.8904 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000314/0.6402, allocations: 345.7 kB / 0.8907 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004178/0.6406, allocations: 0.5051 MB / 0.8912 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002101/0.6427, allocations: 1.958 MB / 0.8931 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.6427, allocations: 2.906 kB / 0.8931 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.213e-06/0.6427, allocations: 0 / 0.8931 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.6428, allocations: 0 / 0.8931 GB, free: 12.22 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.003179/0.6459, allocations: 1.438 MB / 0.8945 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.646, allocations: 10.12 kB / 0.8945 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000129/0.6461, allocations: 119.6 kB / 0.8946 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006335/0.6468, allocations: 150.1 kB / 0.8948 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007286/0.6475, allocations: 0.5651 MB / 0.8953 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/0.6475, allocations: 48.91 kB / 0.8954 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.782e-05/0.6476, allocations: 73.83 kB / 0.8954 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.6489, allocations: 0.8583 MB / 0.8963 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.6489, allocations: 0 / 0.8963 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.08e-05/0.649, allocations: 28 kB / 0.8963 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.546e-05/0.6491, allocations: 53.92 kB / 0.8963 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.6503, allocations: 0.769 MB / 0.8971 GB, free: 9.074 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.004669/0.655, allocations: 4.525 MB / 0.9015 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007133/0.6557, allocations: 418.2 kB / 0.9019 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003109/0.6561, allocations: 189.4 kB / 0.9021 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006392/0.6567, allocations: 0.7639 MB / 0.9028 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.6567, allocations: 39.77 kB / 0.9029 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 1.703e-06/0.6568, allocations: 3.938 kB / 0.9029 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.001215/0.658, allocations: 0.5986 MB / 0.9035 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.658, allocations: 63.28 kB / 0.9035 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009932/0.659, allocations: 0.8641 MB / 0.9044 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.116e-05/0.6591, allocations: 37.7 kB / 0.9044 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002632/0.6593, allocations: 383.7 kB / 0.9048 GB, free: 464 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.923e-05/0.6594, allocations: 137.9 kB / 0.9049 GB, free: 324 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/0.6596, allocations: 98.16 kB / 0.905 GB, free: 216 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.6597, allocations: 326 kB / 0.9053 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003351/0.6601, allocations: 189 kB / 0.9055 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004464/0.6605, allocations: 277.5 kB / 0.9058 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007317/0.6613, allocations: 449.3 kB / 0.9062 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.6613, allocations: 0 / 0.9062 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009917/0.6623, allocations: 0.5819 MB / 0.9068 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.6623, allocations: 10.03 kB / 0.9068 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.6623, allocations: 0 / 0.9068 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.6624, allocations: 4 kB / 0.9068 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005236/0.6629, allocations: 107.8 kB / 0.9069 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.6629, allocations: 16.09 kB / 0.9069 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006887/0.6636, allocations: 99.08 kB / 0.907 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-05/0.6637, allocations: 20 kB / 0.907 GB, free: 14.11 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.0003159/0.664, allocations: 245.7 kB / 0.9072 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.6641, allocations: 82.97 kB / 0.9073 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009889/0.6651, allocations: 0.5515 MB / 0.9078 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.6651, allocations: 4 kB / 0.9079 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.6652, allocations: 3.938 kB / 0.9079 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.6652, allocations: 3.984 kB / 0.9079 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003193/0.6684, allocations: 2.118 MB / 0.9099 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.6684, allocations: 7.938 kB / 0.9099 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004034/0.6688, allocations: 94.27 kB / 0.91 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.958e-06/0.6688, allocations: 12 kB / 0.91 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-05/0.6689, allocations: 16 kB / 0.9101 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.026e-06/0.6689, allocations: 11.94 kB / 0.9101 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.6689, allocations: 8 kB / 0.9101 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.6702, allocations: 0.9953 MB / 0.911 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003031/0.6705, allocations: 211.9 kB / 0.9112 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.6706, allocations: 19.98 kB / 0.9113 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005679/0.6712, allocations: 47.97 kB / 0.9113 GB, free: 9.379 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.323e-05/0.6713, allocations: 47.83 kB / 0.9114 GB, free: 9.332 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.339e-05/0.6713, allocations: 24 kB / 0.9114 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007442/0.6721, allocations: 0.6317 MB / 0.912 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.1e-07/0.6721, allocations: 0 / 0.912 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000734/0.6728, allocations: 247.6 kB / 0.9122 GB, free: 8.438 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.001913/0.6748, allocations: 1.638 MB / 0.9138 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008461/0.6756, allocations: 478.6 kB / 0.9143 GB, free: 6.23 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.6756, allocations: 0 / 0.9143 GB, free: 6.23 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000378/0.676, allocations: 232.9 kB / 0.9145 GB, free: 6.004 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002137/0.6782, allocations: 0.4995 MB / 0.915 GB, free: 5.52 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008755/0.6869, allocations: 7.134 MB / 0.922 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005469/0.6875, allocations: 1.004 MB / 0.9229 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007469/0.6882, allocations: 183.1 kB / 0.9231 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003851/0.6886, allocations: 291.3 kB / 0.9234 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of SimCode: time 6.92e-07/0.6886, allocations: 0 / 0.9234 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03903/0.7277, allocations: 23.88 MB / 0.9467 GB, free: 5.086 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001773/0.7279, allocations: 256.2 kB / 0.947 GB, free: 4.82 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.256/2.984, allocations: 0 / 0.947 GB, free: 4.82 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)