Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example1v2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example1v2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.243/1.243, allocations: 133.6 MB / 141.6 MB, free: 2.945 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.288/2.288, allocations: 221.5 MB / 395.5 MB, free: 10.78 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 104.1 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.454e-05/2.475e-05, allocations: 4 kB / 0.5535 GB, free: 8.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6712/0.6713, allocations: 82.3 MB / 0.6339 GB, free: 40.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.059/1.73, allocations: 381 MB / 1.006 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/1.73, allocations: 93.08 kB / 1.006 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 15.63/17.36, allocations: 2.311 GB / 3.317 GB, free: 68.56 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.789e-06/17.36, allocations: 3.156 kB / 3.317 GB, free: 68.56 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.003436/17.36, allocations: 271.2 kB / 3.317 GB, free: 68.51 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.06027/17.42, allocations: 7.371 MB / 3.324 GB, free: 65.61 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 9.259e-05/17.43, allocations: 7.5 kB / 3.324 GB, free: 65.61 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01742/17.44, allocations: 1.246 MB / 3.325 GB, free: 65.09 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07051/17.51, allocations: 12.79 MB / 3.338 GB, free: 63.78 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00118/17.51, allocations: 186.9 kB / 3.338 GB, free: 63.78 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006633/17.52, allocations: 351.5 kB / 3.338 GB, free: 63.77 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05855/17.58, allocations: 17.76 MB / 3.356 GB, free: 63.75 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06182/17.64, allocations: 12.55 MB / 3.368 GB, free: 62.92 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007277/17.64, allocations: 21.38 kB / 3.368 GB, free: 62.91 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006032/17.65, allocations: 14.34 kB / 3.368 GB, free: 62.91 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002203/17.65, allocations: 138.3 kB / 3.368 GB, free: 62.91 MB / 0.7292 GB Warning: The model contains alias variables with conflicting start and/or 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.1931/17.84, allocations: 54.6 MB / 3.422 GB, free: 43.79 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02479/17.87, allocations: 8.651 MB / 3.43 GB, free: 40.04 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02483/17.89, allocations: 9.187 MB / 3.439 GB, free: 35.38 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09941/17.99, allocations: 26.29 MB / 3.465 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02431/18.02, allocations: 7.213 MB / 3.472 GB, free: 6.52 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 1.244/19.26, allocations: 21.04 MB / 3.492 GB, free: 78.34 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=301): time 8.817e-05/19.26, allocations: 4 kB / 3.492 GB, free: 78.34 MB / 0.7292 GB Notification: Performance of matching and sorting (n=301): time 0.06995/19.33, allocations: 15.04 MB / 3.507 GB, free: 78.09 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/19.33, allocations: 85.84 kB / 3.507 GB, free: 78.02 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.027/19.36, allocations: 6.506 MB / 3.513 GB, free: 77.63 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.005/19.36, allocations: 35.45 kB / 3.513 GB, free: 77.6 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.009733/19.37, allocations: 4.03 MB / 3.517 GB, free: 76.84 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.006325/19.38, allocations: 1.047 MB / 3.518 GB, free: 76.31 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004337/19.38, allocations: 0 / 3.518 GB, free: 76.31 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.001008/19.38, allocations: 496.2 kB / 3.519 GB, free: 76 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01679/19.4, allocations: 6.022 MB / 3.525 GB, free: 75.98 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02053/19.42, allocations: 7.797 MB / 3.532 GB, free: 73.75 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02604/19.45, allocations: 7.545 MB / 3.54 GB, free: 73.6 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001877/19.45, allocations: 14.03 kB / 3.54 GB, free: 73.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.06701/19.51, allocations: 16.57 MB / 3.556 GB, free: 72.97 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.01175/19.53, allocations: 24.72 MB / 3.58 GB, free: 47.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004067/19.53, allocations: 46.12 kB / 3.58 GB, free: 47.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00786/19.53, allocations: 1.551 MB / 3.582 GB, free: 47.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01642/19.55, allocations: 1.601 MB / 3.583 GB, free: 47.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02085/19.57, allocations: 6.937 MB / 3.59 GB, free: 44.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02151/19.59, allocations: 0.5101 MB / 3.59 GB, free: 43.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005148/19.6, allocations: 0.5433 MB / 3.591 GB, free: 43.99 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/19.6, allocations: 2.969 kB / 3.591 GB, free: 43.99 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06399/19.66, allocations: 15.74 MB / 3.606 GB, free: 43.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005107/19.66, allocations: 46.94 kB / 3.606 GB, free: 43.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005964/19.67, allocations: 1.427 MB / 3.608 GB, free: 43.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01421/19.68, allocations: 1.6 MB / 3.609 GB, free: 43.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02621/19.71, allocations: 10.52 MB / 3.62 GB, free: 38.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01778/19.73, allocations: 490.9 kB / 3.62 GB, free: 38.83 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004819/19.73, allocations: 0.5383 MB / 3.621 GB, free: 38.83 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (526): * Single equations (assignments): 520 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.006662/19.74, allocations: 256.5 kB / 3.621 GB, free: 38.71 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05883/19.8, allocations: 14.89 MB / 3.635 GB, free: 38.07 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007994/19.81, allocations: 0.7071 MB / 3.636 GB, free: 37.7 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05517/19.86, allocations: 13.75 MB / 3.65 GB, free: 37.16 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.633e-05/19.86, allocations: 37.78 kB / 3.65 GB, free: 37.16 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.685e-05/19.86, allocations: 3.234 kB / 3.65 GB, free: 37.16 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02958/19.89, allocations: 10.45 MB / 3.66 GB, free: 36.63 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06994/19.96, allocations: 23.51 MB / 3.683 GB, free: 27.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.623e-05/19.96, allocations: 0 / 3.683 GB, free: 27.55 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008778/19.97, allocations: 0.6934 MB / 3.683 GB, free: 27.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002858/19.97, allocations: 0.7079 MB / 3.684 GB, free: 27.35 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001666/19.98, allocations: 65.97 kB / 3.684 GB, free: 27.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01323/19.99, allocations: 5.002 MB / 3.689 GB, free: 39.87 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.398e-06/19.99, allocations: 0 / 3.689 GB, free: 39.87 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04829/20.04, allocations: 18.47 MB / 3.707 GB, free: 31.1 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01293/20.05, allocations: 1.947 MB / 3.709 GB, free: 30.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006028/20.06, allocations: 14.8 kB / 3.709 GB, free: 30.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01688/20.07, allocations: 360.1 kB / 3.709 GB, free: 30.17 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003568/20.08, allocations: 217.2 kB / 3.71 GB, free: 30.14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003169/20.08, allocations: 159.2 kB / 3.71 GB, free: 30.12 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.02002/20.1, allocations: 4.938 MB / 3.715 GB, free: 26.62 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.11e-07/20.1, allocations: 4 kB / 3.715 GB, free: 26.61 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.04408/20.14, allocations: 5.023 MB / 3.719 GB, free: 21.9 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (305): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.05612/20.2, allocations: 19.98 MB / 3.739 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.06512/20.27, allocations: 23.09 MB / 3.762 GB, free: 112 kB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.556e-05/20.27, allocations: 4 kB / 3.762 GB, free: 108 kB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.015/21.28, allocations: 7.636 MB / 3.769 GB, free: 105.2 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03977/21.32, allocations: 4.004 MB / 3.773 GB, free: 105.2 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08007/21.4, allocations: 19.13 MB / 3.792 GB, free: 102.4 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01525/21.42, allocations: 5.421 MB / 3.797 GB, free: 101.5 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.05146/21.47, allocations: 7.415 MB / 3.804 GB, free: 101.3 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01543/21.48, allocations: 3.709 MB / 3.808 GB, free: 101.3 MB / 0.7605 GB Notification: Performance of SimCode: time 1.714e-06/21.48, allocations: 0 / 3.808 GB, free: 101.3 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.678/23.16, allocations: 267.5 MB / 4.069 GB, free: 120.3 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002501/23.16, allocations: 157.4 kB / 4.069 GB, free: 120.1 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.33/46.49, allocations: 0 / 4.069 GB, free: 120.1 MB / 0.7917 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example1v2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example1v2.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.pipe 2>&1)