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: translateModel(BuildingSystems.Airflow.Multizone.Validation.OneWayFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow") translateModel(BuildingSystems.Airflow.Multizone.Validation.OneWayFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.001561, allocations: 108.1 kB / 16.37 MB, free: 6.477 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.001813/0.001813, allocations: 194.7 kB / 17.31 MB, free: 5.824 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.728/1.728, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002947/0.002947, allocations: 290.7 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.156/1.156, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 90.39 kB / 0.5967 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2691, allocations: 86.98 MB / 0.6816 GB, free: 7.492 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.OneWayFlow): time 0.9556/1.225, allocations: 218.2 MB / 0.8946 GB, free: 4.312 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.04024/1.265, allocations: 26.48 MB / 0.9205 GB, free: 9.754 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003559/1.269, allocations: 31.81 kB / 0.9205 GB, free: 9.723 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004411/1.273, allocations: 1.154 MB / 0.9217 GB, free: 8.562 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01227/1.286, allocations: 3.149 MB / 0.9247 GB, free: 5.402 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.006285/1.292, allocations: 1.659 MB / 0.9264 GB, free: 3.75 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008427/1.3, allocations: 3.849 MB / 0.9301 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00312/1.303, allocations: 1.449 MB / 0.9315 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007027/1.311, allocations: 2.292 MB / 0.9338 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003362/1.314, allocations: 1.463 MB / 0.9352 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.000373/1.314, allocations: 124 kB / 0.9353 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006001/1.32, allocations: 1.808 MB / 0.9371 GB, free: 8.703 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001159/1.322, allocations: 0.8568 MB / 0.9379 GB, free: 7.844 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001938/1.323, allocations: 1.134 MB / 0.939 GB, free: 6.703 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.006117/1.33, allocations: 2.971 MB / 0.9419 GB, free: 3.723 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/1.33, allocations: 4 kB / 0.9419 GB, free: 3.719 MB / 0.7012 GB Notification: Performance of FrontEnd: time 4.087e-06/1.33, allocations: 0 / 0.9419 GB, free: 3.719 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.644e-05/1.33, allocations: 0 / 0.9419 GB, free: 3.719 MB / 0.7012 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.00522/1.335, allocations: 2.772 MB / 0.9446 GB, free: 0.8828 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 6.092e-05/1.335, allocations: 8.031 kB / 0.9447 GB, free: 0.875 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002074/1.337, allocations: 440.3 kB / 0.9451 GB, free: 452 kB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002715/1.34, allocations: 1.491 MB / 0.9465 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.096e-05/1.34, allocations: 94.53 kB / 0.9466 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001868/1.34, allocations: 128 kB / 0.9467 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002482/1.343, allocations: 1.595 MB / 0.9483 GB, free: 12.92 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.388e-05/1.343, allocations: 11.84 kB / 0.9483 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/1.343, allocations: 59.94 kB / 0.9484 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001193/1.343, allocations: 89.95 kB / 0.9485 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/1.345, allocations: 1.061 MB / 0.9495 GB, free: 11.7 MB / 0.7169 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.009565/1.354, allocations: 8.103 MB / 0.9574 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/1.355, allocations: 0.7272 MB / 0.9581 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004674/1.356, allocations: 309.5 kB / 0.9584 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007408/1.357, allocations: 0.6052 MB / 0.959 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.078e-05/1.357, allocations: 38.56 kB / 0.959 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=50): time 4.158e-06/1.357, allocations: 0 / 0.959 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=50): time 0.001952/1.359, allocations: 0.9751 MB / 0.96 GB, free: 244 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001413/1.359, allocations: 162.2 kB / 0.9601 GB, free: 44 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5715/1.93, allocations: 3.088 MB / 0.9632 GB, free: 250.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001453/1.93, allocations: 40.08 kB / 0.9632 GB, free: 250.4 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001112/1.932, allocations: 1.039 MB / 0.9642 GB, free: 249.7 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002236/1.932, allocations: 181.7 kB / 0.9644 GB, free: 249.6 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002122/1.932, allocations: 94.88 kB / 0.9645 GB, free: 249.6 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001108/1.932, allocations: 325 kB / 0.9648 GB, free: 249.3 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005047/1.933, allocations: 217.2 kB / 0.965 GB, free: 249.2 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000596/1.933, allocations: 322.5 kB / 0.9653 GB, free: 249.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/1.934, allocations: 0.561 MB / 0.9658 GB, free: 248.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/1.934, allocations: 1.094 kB / 0.9658 GB, free: 248.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001997/1.936, allocations: 0.7965 MB / 0.9666 GB, free: 248.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/1.937, allocations: 6.719 kB / 0.9666 GB, free: 248.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/1.937, allocations: 2.125 kB / 0.9666 GB, free: 248.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.807e-05/1.937, allocations: 11.14 kB / 0.9666 GB, free: 248.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004779/1.937, allocations: 106.7 kB / 0.9667 GB, free: 248.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.86e-05/1.937, allocations: 5 kB / 0.9668 GB, free: 248.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009626/1.938, allocations: 87.69 kB / 0.9668 GB, free: 248.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.94e-05/1.938, allocations: 21.84 kB / 0.9669 GB, free: 248.6 MB / 0.7169 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.001012/1.939, allocations: 0.5387 MB / 0.9674 GB, free: 248.3 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004472/1.94, allocations: 222.9 kB / 0.9676 GB, free: 248.2 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/1.941, allocations: 0.8067 MB / 0.9684 GB, free: 247.9 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/1.941, allocations: 6.781 kB / 0.9684 GB, free: 247.9 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.835e-05/1.941, allocations: 6.75 kB / 0.9684 GB, free: 247.9 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/1.941, allocations: 3.578 kB / 0.9684 GB, free: 247.9 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004145/1.946, allocations: 2.014 MB / 0.9704 GB, free: 246.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/1.946, allocations: 3.188 kB / 0.9704 GB, free: 246.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005046/1.946, allocations: 101.3 kB / 0.9705 GB, free: 246.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-05/1.946, allocations: 6.094 kB / 0.9705 GB, free: 246.9 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.54e-05/1.946, allocations: 11.48 kB / 0.9705 GB, free: 246.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.111e-05/1.946, allocations: 8.297 kB / 0.9705 GB, free: 246.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.748e-06/1.946, allocations: 1.906 kB / 0.9705 GB, free: 246.9 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00238/1.949, allocations: 1.264 MB / 0.9717 GB, free: 246.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/1.95, allocations: 394.3 kB / 0.9721 GB, free: 246.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002389/1.95, allocations: 14.64 kB / 0.9721 GB, free: 246.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006695/1.951, allocations: 18.67 kB / 0.9721 GB, free: 246.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/1.951, allocations: 37.88 kB / 0.9722 GB, free: 246.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.467e-05/1.951, allocations: 18.77 kB / 0.9722 GB, free: 246.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.004472/1.955, allocations: 2.219 MB / 0.9744 GB, free: 245.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8.32e-07/1.955, allocations: 0 / 0.9744 GB, free: 245.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002187/1.957, allocations: 474.3 kB / 0.9748 GB, free: 245.3 MB / 0.7169 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.001633/1.959, allocations: 0.5289 MB / 0.9753 GB, free: 245.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001361/1.96, allocations: 0.5353 MB / 0.9758 GB, free: 245 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.96, allocations: 0 / 0.9758 GB, free: 245 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000646/1.961, allocations: 301.5 kB / 0.9761 GB, free: 245 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003745/1.965, allocations: 0.8537 MB / 0.977 GB, free: 244.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007533/1.972, allocations: 4.19 MB / 0.9811 GB, free: 242.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001987/1.974, allocations: 1.646 MB / 0.9827 GB, free: 242 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002/1.976, allocations: 448.6 kB / 0.9831 GB, free: 242 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003907/1.977, allocations: 142.6 kB / 0.9832 GB, free: 241.9 MB / 0.7169 GB Notification: Performance of SimCode: time 1.312e-06/1.977, allocations: 0 / 0.9832 GB, free: 241.9 MB / 0.7169 GB Notification: Performance of Templates: time 0.05725/2.034, allocations: 29.95 MB / 1.012 GB, free: 225 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.makefile (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 & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1)