Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.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.OneWayFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OneWayFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OneWayFlow",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.004586/0.004586, allocations: 102.7 kB / 15.73 MB, free: 6.039 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.001141/0.001142, allocations: 196 kB / 16.67 MB, free: 5.973 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002185/0.002186, allocations: 278.7 kB / 290.8 MB, free: 1.953 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9388/0.9388, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 95.84 kB / 0.681 GB, free: 4 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1573, allocations: 86.97 MB / 0.7659 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.OneWayFlow): time 0.5175/0.6748, allocations: 218.2 MB / 0.979 GB, free: 8.805 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02682/0.7017, allocations: 26.47 MB / 1.005 GB, free: 14.26 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001547/0.7032, allocations: 31.88 kB / 1.005 GB, free: 14.23 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00276/0.7061, allocations: 1.189 MB / 1.006 GB, free: 13.03 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.007273/0.7133, allocations: 3.241 MB / 1.009 GB, free: 9.781 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004002/0.7174, allocations: 1.676 MB / 1.011 GB, free: 8.109 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.004949/0.7223, allocations: 3.857 MB / 1.015 GB, free: 4.242 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002356/0.7247, allocations: 1.447 MB / 1.016 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004719/0.7295, allocations: 2.335 MB / 1.018 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002101/0.7316, allocations: 1.465 MB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002449/0.7318, allocations: 128 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003563/0.7354, allocations: 1.832 MB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0006578/0.7361, allocations: 0.8529 MB / 1.022 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001167/0.7373, allocations: 1.177 MB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003799/0.7411, allocations: 3.033 MB / 1.027 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.7411, allocations: 0 / 1.027 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7411, allocations: 0 / 1.027 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.583e-05/0.7411, allocations: 0 / 1.027 GB, free: 7.914 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.003824/0.745, allocations: 2.857 MB / 1.029 GB, free: 4.992 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.745, allocations: 16.03 kB / 1.029 GB, free: 4.977 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001854/0.7452, allocations: 202.6 kB / 1.03 GB, free: 4.77 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001638/0.7469, allocations: 444.3 kB / 1.03 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002957/0.7498, allocations: 2.761 MB / 1.033 GB, free: 1.5 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.084e-05/0.7499, allocations: 98.52 kB / 1.033 GB, free: 1.402 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/0.7501, allocations: 124 kB / 1.033 GB, free: 1.281 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002197/0.7523, allocations: 1.6 MB / 1.034 GB, free: 15.54 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.312e-05/0.7524, allocations: 3.938 kB / 1.034 GB, free: 15.54 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.676e-05/0.7525, allocations: 59.98 kB / 1.035 GB, free: 15.48 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/0.7526, allocations: 93.89 kB / 1.035 GB, free: 15.38 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.7542, allocations: 1.061 MB / 1.036 GB, free: 14.32 MB / 0.795 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.007338/0.7616, allocations: 8.447 MB / 1.044 GB, free: 5.371 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009248/0.7625, allocations: 0.7194 MB / 1.045 GB, free: 4.605 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003908/0.7629, allocations: 304.1 kB / 1.045 GB, free: 4.293 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004828/0.7634, allocations: 0.6172 MB / 1.045 GB, free: 3.547 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.7634, allocations: 46.45 kB / 1.046 GB, free: 3.492 MB / 0.795 GB Notification: Performance of pre-optimization done (n=50): time 3.677e-06/0.7635, allocations: 3.984 kB / 1.046 GB, free: 3.488 MB / 0.795 GB Notification: Performance of matching and sorting (n=50): time 0.00154/0.765, allocations: 0.9791 MB / 1.046 GB, free: 2.5 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.176e-05/0.7651, allocations: 162.3 kB / 1.047 GB, free: 2.305 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004567/0.7696, allocations: 4.697 MB / 1.051 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.212e-05/0.7697, allocations: 33.7 kB / 1.051 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007587/0.7705, allocations: 1.066 MB / 1.052 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.7706, allocations: 177.4 kB / 1.052 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.7708, allocations: 94.16 kB / 1.053 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.836e-05/0.7709, allocations: 330 kB / 1.053 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003356/0.7712, allocations: 217 kB / 1.053 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000388/0.7716, allocations: 316.5 kB / 1.053 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007202/0.7723, allocations: 0.5648 MB / 1.054 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.7724, allocations: 0 / 1.054 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001193/0.7736, allocations: 0.7915 MB / 1.055 GB, free: 9.934 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.7736, allocations: 12 kB / 1.055 GB, free: 9.922 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.7736, allocations: 7.938 kB / 1.055 GB, free: 9.914 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.7736, allocations: 4 kB / 1.055 GB, free: 9.91 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003853/0.774, allocations: 103.8 kB / 1.055 GB, free: 9.809 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/0.774, allocations: 4 kB / 1.055 GB, free: 9.805 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007621/0.7748, allocations: 94.89 kB / 1.055 GB, free: 9.711 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.505e-05/0.7749, allocations: 23.98 kB / 1.055 GB, free: 9.688 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (58): * Single equations (assignments): 58 * 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.0006511/0.7755, allocations: 0.5365 MB / 1.055 GB, free: 9.137 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003148/0.7758, allocations: 237.1 kB / 1.056 GB, free: 8.902 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.777, allocations: 0.8071 MB / 1.056 GB, free: 8.09 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.777, allocations: 7.938 kB / 1.056 GB, free: 8.082 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.777, allocations: 7.938 kB / 1.056 GB, free: 8.074 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.777, allocations: 3.984 kB / 1.057 GB, free: 8.07 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002596/0.7796, allocations: 2.088 MB / 1.059 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.7796, allocations: 4 kB / 1.059 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004136/0.7801, allocations: 99.83 kB / 1.059 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/0.7801, allocations: 4 kB / 1.059 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.29e-05/0.7801, allocations: 12.19 kB / 1.059 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.7801, allocations: 8 kB / 1.059 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.7801, allocations: 4 kB / 1.059 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/0.7817, allocations: 1.278 MB / 1.06 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006325/0.7824, allocations: 414 kB / 1.06 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002542/0.7826, allocations: 16 kB / 1.06 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006577/0.7833, allocations: 19.98 kB / 1.06 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.742e-05/0.7834, allocations: 40.33 kB / 1.06 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-05/0.7835, allocations: 23.98 kB / 1.06 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.003496/0.787, allocations: 3.502 MB / 1.064 GB, free: 444 kB / 0.8106 GB Notification: Performance of sort global known variables: time 3.91e-07/0.787, allocations: 0 / 1.064 GB, free: 444 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001397/0.7884, allocations: 483 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (ela.mExc,ori.mExc,pow_1dat.mExc,pow_2dat.mExc,pow_m_flow.mExc,pow_V_flow.mExc,tabDat_m_flow.mExc,tabDat_V_flow.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 (53): * Single equations (assignments): 53 * 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.003553/0.7919, allocations: 2.267 MB / 1.066 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008879/0.7928, allocations: 0.5258 MB / 1.067 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.7929, allocations: 4 kB / 1.067 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000406/0.7933, allocations: 294.9 kB / 1.067 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003505/0.7968, allocations: 0.8562 MB / 1.068 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02314/0.82, allocations: 19.32 MB / 1.087 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001348/0.8213, allocations: 1.633 MB / 1.089 GB, free: 6.859 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001358/0.8227, allocations: 470.1 kB / 1.089 GB, free: 6.398 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001089/0.8238, allocations: 0.9406 MB / 1.09 GB, free: 5.457 MB / 0.8419 GB Notification: Performance of SimCode: time 7.21e-07/0.8238, allocations: 0 / 1.09 GB, free: 5.457 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.364/1.188, allocations: 46.69 MB / 1.136 GB, free: 280.4 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/13.67, allocations: 8.344 kB / 1.136 GB, free: 280.4 MB / 0.8419 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OneWayFlow_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OneWayFlow.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1)