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.004713/0.004713, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001269/0.001269, allocations: 197.5 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003332/0.003332, allocations: 279 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.036/1.036, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002703/0.002703, allocations: 95.84 kB / 0.681 GB, free: 4 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1647, allocations: 86.96 MB / 0.7659 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed): time 0.5145/0.6793, allocations: 198.6 MB / 0.9599 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01247/0.6918, allocations: 9.45 MB / 0.9691 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000673/0.6926, allocations: 19.88 kB / 0.9691 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001462/0.694, allocations: 0.6098 MB / 0.9697 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004388/0.6984, allocations: 2.019 MB / 0.9717 GB, free: 268 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001832/0.7003, allocations: 0.7389 MB / 0.9724 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002373/0.7027, allocations: 2.107 MB / 0.9745 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.7037, allocations: 0.7674 MB / 0.9752 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002239/0.706, allocations: 1.362 MB / 0.9765 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009672/0.707, allocations: 0.7276 MB / 0.9773 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.7071, allocations: 72 kB / 0.9773 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003198/0.7103, allocations: 1.933 MB / 0.9792 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004041/0.7107, allocations: 359 kB / 0.9796 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005334/0.7112, allocations: 0.4977 MB / 0.98 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00262/0.7139, allocations: 1.859 MB / 0.9819 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.7139, allocations: 0 / 0.9819 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7139, allocations: 0 / 0.9819 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.7139, allocations: 4 kB / 0.9819 GB, free: 5.809 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: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.003504/0.7174, allocations: 1.467 MB / 0.9833 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.7175, allocations: 8.031 kB / 0.9833 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001526/0.7176, allocations: 122.5 kB / 0.9834 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006304/0.7183, allocations: 159.3 kB / 0.9836 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009334/0.7192, allocations: 0.5842 MB / 0.9841 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.723e-05/0.7193, allocations: 61.92 kB / 0.9842 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.7194, allocations: 68 kB / 0.9843 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.7208, allocations: 0.8626 MB / 0.9851 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.7209, allocations: 0 / 0.9851 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.371e-05/0.7209, allocations: 27.98 kB / 0.9851 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.718e-05/0.721, allocations: 53.98 kB / 0.9852 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/0.7224, allocations: 0.7651 MB / 0.9859 GB, free: 1.516 MB / 0.7325 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.005609/0.728, allocations: 4.523 MB / 0.9904 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008038/0.7288, allocations: 420.4 kB / 0.9908 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000335/0.7292, allocations: 193.4 kB / 0.9909 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007772/0.73, allocations: 0.76 MB / 0.9917 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.73, allocations: 34.89 kB / 0.9917 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=40): time 1.713e-06/0.73, allocations: 3.938 kB / 0.9917 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of matching and sorting (n=40): time 0.001308/0.7313, allocations: 0.6149 MB / 0.9923 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.7314, allocations: 59.34 kB / 0.9924 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.7325, allocations: 0.868 MB / 0.9932 GB, free: 9.301 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.996e-05/0.7326, allocations: 33.7 kB / 0.9933 GB, free: 9.262 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000323/0.7329, allocations: 384.3 kB / 0.9936 GB, free: 8.883 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.7331, allocations: 154.6 kB / 0.9938 GB, free: 8.73 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001778/0.7333, allocations: 106.2 kB / 0.9939 GB, free: 8.621 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.7334, allocations: 329.9 kB / 0.9942 GB, free: 8.293 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003616/0.7338, allocations: 181 kB / 0.9944 GB, free: 8.117 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004609/0.7343, allocations: 277.6 kB / 0.9946 GB, free: 7.82 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007713/0.735, allocations: 455.3 kB / 0.9951 GB, free: 7.348 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.7351, allocations: 0.5 kB / 0.9951 GB, free: 7.348 MB / 0.7481 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001096/0.7362, allocations: 0.583 MB / 0.9956 GB, free: 6.758 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.7362, allocations: 8 kB / 0.9956 GB, free: 6.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.7362, allocations: 0 / 0.9956 GB, free: 6.75 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.737e-05/0.7362, allocations: 4.219 kB / 0.9956 GB, free: 6.746 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005165/0.7368, allocations: 111.8 kB / 0.9957 GB, free: 6.637 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.7368, allocations: 4 kB / 0.9957 GB, free: 6.633 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005774/0.7374, allocations: 77.64 kB / 0.9958 GB, free: 6.559 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-05/0.7374, allocations: 23.98 kB / 0.9958 GB, free: 6.535 MB / 0.7481 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.000315/0.7377, allocations: 237.7 kB / 0.9961 GB, free: 6.293 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.7379, allocations: 83.48 kB / 0.9961 GB, free: 6.211 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.7389, allocations: 0.5593 MB / 0.9967 GB, free: 5.641 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.739, allocations: 7.938 kB / 0.9967 GB, free: 5.633 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.739, allocations: 0 / 0.9967 GB, free: 5.633 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.739, allocations: 3.984 kB / 0.9967 GB, free: 5.629 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003494/0.7425, allocations: 2.121 MB / 0.9988 GB, free: 3.336 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.7425, allocations: 4 kB / 0.9988 GB, free: 3.332 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004446/0.743, allocations: 95.83 kB / 0.9989 GB, free: 3.238 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/0.743, allocations: 8.781 kB / 0.9989 GB, free: 3.23 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.322e-05/0.743, allocations: 12 kB / 0.9989 GB, free: 3.219 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-05/0.743, allocations: 23.86 kB / 0.9989 GB, free: 3.195 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/0.7431, allocations: 8 kB / 0.9989 GB, free: 3.188 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/0.7446, allocations: 0.9993 MB / 0.9999 GB, free: 2.094 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003275/0.7449, allocations: 212.5 kB / 1 GB, free: 1.867 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.745, allocations: 15.98 kB / 1 GB, free: 1.852 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005611/0.7456, allocations: 19.98 kB / 1 GB, free: 1.832 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.7457, allocations: 57.39 kB / 1 GB, free: 1.777 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.726e-05/0.7457, allocations: 23.94 kB / 1 GB, free: 1.754 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008471/0.7466, allocations: 0.6239 MB / 1.001 GB, free: 1.133 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.214e-06/0.7466, allocations: 0 / 1.001 GB, free: 1.133 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008953/0.7475, allocations: 255.5 kB / 1.001 GB, free: 0.8828 MB / 0.7481 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.002175/0.7497, allocations: 1.653 MB / 1.003 GB, free: 15.13 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0009052/0.7506, allocations: 462.6 kB / 1.003 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.7506, allocations: 0 / 1.003 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.000422/0.751, allocations: 233.6 kB / 1.003 GB, free: 14.45 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002299/0.7534, allocations: 497.4 kB / 1.004 GB, free: 13.98 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00949/0.7629, allocations: 6.616 MB / 1.01 GB, free: 7.074 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007187/0.7636, allocations: 1.008 MB / 1.011 GB, free: 6.039 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0006612/0.7643, allocations: 183.1 kB / 1.011 GB, free: 5.855 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004391/0.7647, allocations: 295.3 kB / 1.012 GB, free: 5.566 MB / 0.7637 GB Notification: Performance of SimCode: time 4.6e-07/0.7647, allocations: 4 kB / 1.012 GB, free: 5.562 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0566/0.8213, allocations: 24.3 MB / 1.035 GB, free: 13.65 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.333/10.15, allocations: 7.156 kB / 1.035 GB, free: 13.65 MB / 0.795 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)