Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4") translateModel(IBPSA.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 99.92 kB / 16.26 MB, free: 6.414 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.001229/0.001229, allocations: 184.4 kB / 17.2 MB, free: 5.953 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.33/1.33, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7529/0.7529, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 60.14 kB / 0.4911 GB, free: 7.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4043, allocations: 77.93 MB / 0.5672 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example4): time 0.6685/1.073, allocations: 237.5 MB / 0.7992 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02059/1.094, allocations: 15.78 MB / 0.8146 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003629/1.097, allocations: 64.44 kB / 0.8146 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003454/1.101, allocations: 1.038 MB / 0.8157 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009466/1.11, allocations: 2.981 MB / 0.8186 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005283/1.116, allocations: 1.665 MB / 0.8202 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00577/1.121, allocations: 3.435 MB / 0.8235 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002643/1.124, allocations: 1.29 MB / 0.8248 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007201/1.131, allocations: 2.484 MB / 0.8272 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002599/1.134, allocations: 1.085 MB / 0.8283 GB, free: 392 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005501/1.134, allocations: 119.6 kB / 0.8284 GB, free: 392 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007681/1.142, allocations: 3.091 MB / 0.8314 GB, free: 360 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001031/1.143, allocations: 476.9 kB / 0.8319 GB, free: 296 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002151/1.145, allocations: 0.8122 MB / 0.8327 GB, free: 52 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008469/1.154, allocations: 2.936 MB / 0.8355 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.154, allocations: 0.7188 kB / 0.8355 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.864e-06/1.154, allocations: 0 / 0.8355 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.338e-05/1.154, allocations: 4.688 kB / 0.8355 GB, free: 14.79 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.005934/1.16, allocations: 2.002 MB / 0.8375 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/1.16, allocations: 8.25 kB / 0.8375 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003221/1.163, allocations: 0.4931 MB / 0.838 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003129/1.166, allocations: 1.114 MB / 0.8391 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001006/1.167, allocations: 244.7 kB / 0.8393 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003114/1.168, allocations: 97.97 kB / 0.8394 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003187/1.171, allocations: 1.365 MB / 0.8407 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/1.171, allocations: 4.469 kB / 0.8407 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001527/1.171, allocations: 45.66 kB / 0.8408 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.313e-05/1.171, allocations: 49.86 kB / 0.8408 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002843/1.174, allocations: 1.091 MB / 0.8419 GB, free: 10.64 MB / 0.5919 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.0113/1.185, allocations: 7.433 MB / 0.8492 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001828/1.187, allocations: 0.5696 MB / 0.8497 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006883/1.188, allocations: 273.7 kB / 0.85 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004159/1.188, allocations: 284.1 kB / 0.8502 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/1.189, allocations: 36.03 kB / 0.8503 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 3.096e-06/1.189, allocations: 0 / 0.8503 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002863/1.191, allocations: 0.8691 MB / 0.8511 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/1.191, allocations: 59.41 kB / 0.8512 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00267/1.194, allocations: 1.399 MB / 0.8525 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.786e-05/1.194, allocations: 29.7 kB / 0.8526 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006398/1.195, allocations: 0.7041 MB / 0.8533 GB, free: 476 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000144/1.195, allocations: 121.3 kB / 0.8534 GB, free: 356 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003166/1.195, allocations: 170.3 kB / 0.8535 GB, free: 180 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001643/1.196, allocations: 337.9 kB / 0.8539 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009584/1.197, allocations: 324.6 kB / 0.8542 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/1.198, allocations: 0.702 MB / 0.8549 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002025/1.2, allocations: 0.9551 MB / 0.8558 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/1.2, allocations: 4 kB / 0.8558 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002828/1.203, allocations: 1.072 MB / 0.8568 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/1.203, allocations: 11.98 kB / 0.8569 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/1.203, allocations: 16 kB / 0.8569 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.882e-05/1.203, allocations: 20.06 kB / 0.8569 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009482/1.204, allocations: 212.6 kB / 0.8571 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.443e-05/1.204, allocations: 21.06 kB / 0.8571 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/1.205, allocations: 194.6 kB / 0.8573 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-05/1.206, allocations: 43.98 kB / 0.8573 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001398/1.207, allocations: 0.576 MB / 0.8579 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001282/1.208, allocations: 0.7097 MB / 0.8586 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001969/1.21, allocations: 0.9474 MB / 0.8595 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.036e-05/1.21, allocations: 4 kB / 0.8595 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002967/1.213, allocations: 1.069 MB / 0.8606 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/1.213, allocations: 8 kB / 0.8606 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/1.213, allocations: 12 kB / 0.8606 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/1.213, allocations: 18.62 kB / 0.8606 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009505/1.214, allocations: 209.2 kB / 0.8608 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.703e-05/1.214, allocations: 25.05 kB / 0.8608 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001737/1.216, allocations: 147.4 kB / 0.861 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.046e-05/1.216, allocations: 47.92 kB / 0.861 GB, free: 8.086 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (88): * Single equations (assignments): 88 * 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.0003309/1.217, allocations: 247.9 kB / 0.8613 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004331/1.217, allocations: 138.3 kB / 0.8614 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00212/1.219, allocations: 0.663 MB / 0.862 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/1.219, allocations: 0 / 0.862 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/1.219, allocations: 8 kB / 0.862 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/1.219, allocations: 3.984 kB / 0.862 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004983/1.224, allocations: 1.923 MB / 0.8639 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/1.224, allocations: 4 kB / 0.8639 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000551/1.225, allocations: 98.55 kB / 0.864 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.407e-05/1.225, allocations: 7.984 kB / 0.864 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.806e-05/1.225, allocations: 12 kB / 0.864 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.115e-05/1.225, allocations: 7.984 kB / 0.864 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/1.225, allocations: 7.094 kB / 0.8641 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002026/1.227, allocations: 0.8221 MB / 0.8649 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007161/1.228, allocations: 295.1 kB / 0.8651 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004101/1.228, allocations: 12 kB / 0.8651 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/1.229, allocations: 71.92 kB / 0.8652 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/1.229, allocations: 42.98 kB / 0.8653 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.852e-05/1.23, allocations: 23.98 kB / 0.8653 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002029/1.232, allocations: 1.013 MB / 0.8663 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.81e-07/1.232, allocations: 0 / 0.8663 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002532/1.234, allocations: 0.5735 MB / 0.8668 GB, free: 1.973 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (32): * Single equations (assignments): 32 * 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.0008331/1.235, allocations: 265.9 kB / 0.8671 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003438/1.238, allocations: 1.169 MB / 0.8682 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/1.238, allocations: 4 kB / 0.8682 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007815/1.239, allocations: 261.7 kB / 0.8685 GB, free: 400 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004219/1.243, allocations: 0.7402 MB / 0.8692 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005563/1.249, allocations: 2.3 MB / 0.8714 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/1.25, allocations: 1.178 MB / 0.8726 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001894/1.252, allocations: 395.7 kB / 0.873 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002785/1.252, allocations: 95.42 kB / 0.8731 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of SimCode: time 7.41e-07/1.252, allocations: 0 / 0.8731 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of Templates: time 0.0448/1.297, allocations: 25.04 MB / 0.8975 GB, free: 2.996 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.pipe 2>&1)