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.005401/0.005401, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001406/0.001406, allocations: 194.3 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.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002572/0.002572, allocations: 275.1 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.028/1.028, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002753/0.002753, allocations: 98.3 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1573, allocations: 86.98 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.OneWayFlow): time 0.525/0.6823, allocations: 218.2 MB / 0.979 GB, free: 8.738 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03402/0.7163, allocations: 26.48 MB / 1.005 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001617/0.718, allocations: 27.88 kB / 1.005 GB, free: 14.15 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002943/0.721, allocations: 1.154 MB / 1.006 GB, free: 12.99 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.007736/0.7288, allocations: 3.152 MB / 1.009 GB, free: 9.824 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004211/0.733, allocations: 1.663 MB / 1.011 GB, free: 8.168 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.005189/0.7382, allocations: 3.853 MB / 1.014 GB, free: 4.305 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002406/0.7406, allocations: 1.448 MB / 1.016 GB, free: 2.832 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004639/0.7453, allocations: 2.288 MB / 1.018 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002439/0.7477, allocations: 1.468 MB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.000383/0.7481, allocations: 124 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003902/0.7521, allocations: 1.808 MB / 1.021 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0009744/0.7531, allocations: 0.849 MB / 1.022 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001786/0.7549, allocations: 1.177 MB / 1.023 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.005152/0.76, allocations: 3.059 MB / 1.026 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.7601, allocations: 0 / 1.026 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7601, allocations: 0 / 1.026 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001014/0.7602, allocations: 0 / 1.026 GB, free: 8.027 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.005528/0.7657, allocations: 2.948 MB / 1.029 GB, free: 5.012 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.7658, allocations: 12.03 kB / 1.029 GB, free: 5 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003073/0.7661, allocations: 202.5 kB / 1.029 GB, free: 4.793 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001957/0.7681, allocations: 453.9 kB / 1.03 GB, free: 4.348 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004021/0.7721, allocations: 2.786 MB / 1.033 GB, free: 1.492 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.662e-05/0.7722, allocations: 94.53 kB / 1.033 GB, free: 1.398 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002318/0.7724, allocations: 128 kB / 1.033 GB, free: 1.273 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002657/0.7751, allocations: 1.6 MB / 1.034 GB, free: 15.53 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.475e-05/0.7752, allocations: 11.89 kB / 1.034 GB, free: 15.52 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.7753, allocations: 52 kB / 1.034 GB, free: 15.47 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001154/0.7754, allocations: 89.95 kB / 1.035 GB, free: 15.38 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001955/0.7774, 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.009559/0.7869, allocations: 8.477 MB / 1.044 GB, free: 5.34 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.7881, allocations: 0.7194 MB / 1.045 GB, free: 4.574 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004914/0.7886, allocations: 308.1 kB / 1.045 GB, free: 4.258 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006288/0.7893, allocations: 0.6133 MB / 1.045 GB, free: 3.516 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.7893, allocations: 42.52 kB / 1.045 GB, free: 3.465 MB / 0.795 GB Notification: Performance of pre-optimization done (n=50): time 2.736e-06/0.7893, allocations: 0 / 1.045 GB, free: 3.465 MB / 0.795 GB Notification: Performance of matching and sorting (n=50): time 0.001918/0.7913, allocations: 0.9881 MB / 1.046 GB, free: 2.469 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.666e-05/0.7914, allocations: 166.2 kB / 1.047 GB, free: 2.27 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006179/0.7976, allocations: 4.694 MB / 1.051 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.219e-05/0.7977, allocations: 33.7 kB / 1.051 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001036/0.7987, allocations: 1.071 MB / 1.052 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002054/0.7989, allocations: 190.3 kB / 1.052 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/0.7991, allocations: 94.38 kB / 1.053 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.7992, allocations: 326 kB / 1.053 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004051/0.7996, allocations: 217.1 kB / 1.053 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004804/0.8001, allocations: 322.9 kB / 1.053 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000892/0.801, allocations: 0.5648 MB / 1.054 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.8011, allocations: 0 / 1.054 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001497/0.8026, allocations: 0.8084 MB / 1.055 GB, free: 9.867 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.8026, allocations: 8 kB / 1.055 GB, free: 9.859 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.8026, allocations: 7.938 kB / 1.055 GB, free: 9.852 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.8026, allocations: 4 kB / 1.055 GB, free: 9.848 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004194/0.8031, allocations: 103.8 kB / 1.055 GB, free: 9.746 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.8031, allocations: 4 kB / 1.055 GB, free: 9.742 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009123/0.804, allocations: 99.17 kB / 1.055 GB, free: 9.645 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.168e-05/0.8041, allocations: 23.98 kB / 1.055 GB, free: 9.621 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.0008145/0.8049, allocations: 0.5405 MB / 1.055 GB, free: 9.066 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004828/0.8054, allocations: 246.4 kB / 1.056 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/0.8068, allocations: 0.803 MB / 1.057 GB, free: 8.016 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.8068, allocations: 8 kB / 1.057 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.8068, allocations: 0 / 1.057 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.8068, allocations: 3.984 kB / 1.057 GB, free: 8.004 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003481/0.8103, allocations: 2.096 MB / 1.059 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.8104, allocations: 7.938 kB / 1.059 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004548/0.8108, allocations: 95.89 kB / 1.059 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.8108, allocations: 8.188 kB / 1.059 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.481e-05/0.8109, allocations: 8 kB / 1.059 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.796e-06/0.8109, allocations: 4 kB / 1.059 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.8109, allocations: 4 kB / 1.059 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/0.8128, allocations: 1.287 MB / 1.06 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000766/0.8136, allocations: 435.3 kB / 1.06 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002853/0.8139, allocations: 12 kB / 1.06 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007844/0.8147, allocations: 19.97 kB / 1.06 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.8148, allocations: 52.27 kB / 1.06 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.8148, allocations: 19.92 kB / 1.06 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.004298/0.8191, allocations: 3.51 MB / 1.064 GB, free: 332 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8191, allocations: 0 / 1.064 GB, free: 332 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001439/0.8206, allocations: 479.2 kB / 1.064 GB, free: 15.85 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.004062/0.8247, allocations: 2.271 MB / 1.067 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00101/0.8257, allocations: 0.5297 MB / 1.067 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.8257, allocations: 0 / 1.067 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004888/0.8262, allocations: 303.1 kB / 1.067 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003741/0.83, allocations: 0.852 MB / 1.068 GB, free: 12 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02764/0.8576, allocations: 19.4 MB / 1.087 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001548/0.8592, allocations: 1.637 MB / 1.089 GB, free: 6.66 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001336/0.8606, allocations: 466.1 kB / 1.089 GB, free: 6.203 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001232/0.8618, allocations: 0.9367 MB / 1.09 GB, free: 5.266 MB / 0.8419 GB Notification: Performance of SimCode: time 1.092e-06/0.8618, allocations: 4 kB / 1.09 GB, free: 5.262 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3603/1.222, allocations: 46.68 MB / 1.136 GB, free: 282.7 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/14.4, allocations: 14.17 kB / 1.136 GB, free: 282.7 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)