Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Examples.Performance.Example1v2,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example1v2,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example1v2",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.0007995/0.0007995, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008874/0.0008874, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 223.3 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7466/0.7466, allocations: 132.3 MB / 423.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000344/0.0003443, allocations: 8 kB / 0.5035 GB, free: 4.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5009/0.5013, allocations: 81.57 MB / 0.5831 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example1v2): time 0.07816/0.5795, allocations: 74.22 MB / 0.6556 GB, free: 6.199 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02805/0.6076, allocations: 18.03 MB / 0.6732 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004747/0.6124, allocations: 91.38 kB / 0.6733 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00328/0.6157, allocations: 0.7724 MB / 0.6741 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007555/0.6233, allocations: 2.276 MB / 0.6763 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005466/0.6288, allocations: 1.789 MB / 0.678 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.03048/0.6593, allocations: 30.25 MB / 0.7076 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02038/0.6798, allocations: 13.49 MB / 0.7207 GB, free: 3.32 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01884/0.6986, allocations: 9.196 MB / 0.7297 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02213/0.7208, allocations: 10.76 MB / 0.7402 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.005647/0.7265, allocations: 0.8164 MB / 0.741 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009901/0.7365, allocations: 1.784 MB / 0.7428 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.006862/0.7434, allocations: 2.963 MB / 0.7457 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.006283/0.7497, allocations: 1.845 MB / 0.7475 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01722/0.7669, allocations: 13.97 MB / 0.7611 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.767, allocations: 4 kB / 0.7611 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.274e-06/0.767, allocations: 4 kB / 0.7611 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0005366/0.7675, allocations: 0 / 0.7611 GB, free: 9.855 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: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.03186/0.7994, allocations: 13.15 MB / 0.774 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.7995, allocations: 12.03 kB / 0.774 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003971/0.8035, allocations: 0.768 MB / 0.7747 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007417/0.8109, allocations: 1.288 MB / 0.776 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02243/0.8334, allocations: 9.742 MB / 0.7855 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005275/0.8339, allocations: 452 kB / 0.7859 GB, free: 256 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00346/0.8374, allocations: 0.5741 MB / 0.7865 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0354/0.8728, allocations: 14.69 MB / 0.8008 GB, free: 0.7188 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003429/0.8732, allocations: 23.72 kB / 0.8009 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004401/0.8777, allocations: 240 kB / 0.8011 GB, free: 472 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001811/0.8779, allocations: 136 kB / 0.8012 GB, free: 336 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6279/1.506, allocations: 19.88 MB / 0.8206 GB, free: 198 MB / 0.6388 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.1068/1.613, allocations: 66.65 MB / 0.8857 GB, free: 150 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01233/1.625, allocations: 9.326 MB / 0.8948 GB, free: 140.6 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01031/1.635, allocations: 8.677 MB / 0.9033 GB, free: 132 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05182/1.687, allocations: 30.99 MB / 0.9336 GB, free: 100.8 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01047/1.698, allocations: 7.748 MB / 0.9411 GB, free: 92.98 MB / 0.6388 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02574/1.724, allocations: 11.76 MB / 0.9526 GB, free: 81.35 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=300): time 3.285e-05/1.724, allocations: 0 / 0.9526 GB, free: 81.35 MB / 0.6388 GB Notification: Performance of matching and sorting (n=300): time 0.05126/1.775, allocations: 24.46 MB / 0.9765 GB, free: 56.76 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/1.775, allocations: 85.77 kB / 0.9766 GB, free: 56.66 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01252/1.788, allocations: 8.237 MB / 0.9846 GB, free: 48.45 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.002411/1.79, allocations: 97.7 kB / 0.9847 GB, free: 48.35 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.004145/1.794, allocations: 4.095 MB / 0.9887 GB, free: 44.25 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.003071/1.797, allocations: 1.077 MB / 0.9898 GB, free: 43.18 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001986/1.799, allocations: 88 kB / 0.9899 GB, free: 43.09 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0003395/1.8, allocations: 495.8 kB / 0.9903 GB, free: 42.6 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009919/1.81, allocations: 6.547 MB / 0.9967 GB, free: 36.04 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01189/1.821, allocations: 8.4 MB / 1.005 GB, free: 26.79 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01256/1.834, allocations: 7.445 MB / 1.012 GB, free: 19.32 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.651e-05/1.834, allocations: 15.95 kB / 1.012 GB, free: 19.31 MB / 0.6388 GB Notification: Performance of matching and sorting (n=579) (initialization): time 0.03543/1.87, allocations: 17.81 MB / 1.03 GB, free: 1.445 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.001117/1.871, allocations: 1.565 MB / 1.031 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001114/1.871, allocations: 51.94 kB / 1.031 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06155/1.933, allocations: 11.49 MB / 1.042 GB, free: 3.664 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008701/1.941, allocations: 1.569 MB / 1.044 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01001/1.951, allocations: 6.802 MB / 1.051 GB, free: 11.07 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01318/1.965, allocations: 0.597 MB / 1.051 GB, free: 10.47 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003759/1.968, allocations: 0.546 MB / 1.052 GB, free: 9.926 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/1.968, allocations: 4 kB / 1.052 GB, free: 9.922 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03789/2.006, allocations: 16.74 MB / 1.068 GB, free: 9.121 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001558/2.007, allocations: 48 kB / 1.068 GB, free: 9.074 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3986/2.405, allocations: 11.02 MB / 1.079 GB, free: 227.5 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008475/2.414, allocations: 1.551 MB / 1.08 GB, free: 227.5 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0136/2.427, allocations: 11.02 MB / 1.091 GB, free: 223 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009552/2.437, allocations: 0.5642 MB / 1.092 GB, free: 223 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002378/2.439, allocations: 0.5347 MB / 1.092 GB, free: 223 MB / 0.6857 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 217 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (527): * Single equations (assignments): 521 * 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,20 21,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.006792/2.446, allocations: 2.665 MB / 1.095 GB, free: 222.1 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003243/2.449, allocations: 0.7641 MB / 1.096 GB, free: 222.1 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02814/2.477, allocations: 14.36 MB / 1.11 GB, free: 216.6 MB / 0.6857 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.238e-05/2.478, allocations: 35.69 kB / 1.11 GB, free: 216.6 MB / 0.6857 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.441e-05/2.478, allocations: 0 / 1.11 GB, free: 216.6 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01496/2.492, allocations: 10.92 MB / 1.12 GB, free: 211.8 MB / 0.6857 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 postOpt removeSimpleEquations (simulation): time 0.03625/2.529, allocations: 24.94 MB / 1.145 GB, free: 193 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/2.529, allocations: 0 / 1.145 GB, free: 193 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004636/2.533, allocations: 0.7048 MB / 1.145 GB, free: 192.3 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05469/2.588, allocations: 10.34 MB / 1.155 GB, free: 182.1 MB / 0.6857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001357/2.59, allocations: 103.9 kB / 1.156 GB, free: 182 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004737/2.594, allocations: 4.927 MB / 1.16 GB, free: 176.9 MB / 0.6857 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/2.594, allocations: 4.156 kB / 1.16 GB, free: 176.9 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02815/2.623, allocations: 19.56 MB / 1.179 GB, free: 157.3 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005703/2.628, allocations: 2.019 MB / 1.181 GB, free: 155.2 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002838/2.631, allocations: 71.98 kB / 1.181 GB, free: 155.1 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007291/2.638, allocations: 453.7 kB / 1.182 GB, free: 154.7 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001308/2.64, allocations: 218.4 kB / 1.182 GB, free: 154.5 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00125/2.641, allocations: 155.9 kB / 1.182 GB, free: 154.4 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 0.01051/2.652, allocations: 5.66 MB / 1.188 GB, free: 148.7 MB / 0.6857 GB Notification: Performance of sort global known variables: time 4.41e-07/2.652, allocations: 0 / 1.188 GB, free: 148.7 MB / 0.6857 GB Notification: Performance of remove unused functions: time 0.02238/2.674, allocations: 4.997 MB / 1.193 GB, free: 143.9 MB / 0.6857 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (304): * Single equations (assignments): 294 * 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,2 5,20 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.02817/2.702, allocations: 20.38 MB / 1.213 GB, free: 123.5 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.03321/2.735, allocations: 24.18 MB / 1.236 GB, free: 99.25 MB / 0.6857 GB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/2.736, allocations: 8.062 kB / 1.236 GB, free: 99.24 MB / 0.6857 GB Notification: Performance of simCode: created simulation system equations: time 0.008977/2.745, allocations: 6.465 MB / 1.243 GB, free: 92.76 MB / 0.6857 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02532/2.77, allocations: 5.035 MB / 1.247 GB, free: 87.86 MB / 0.6857 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2587/3.029, allocations: 95.82 MB / 1.341 GB, free: 3.34 MB / 0.7013 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2959/3.325, allocations: 5.248 MB / 1.346 GB, free: 235 MB / 0.7013 GB Notification: Performance of simCode: alias equations: time 0.02348/3.348, allocations: 5.031 MB / 1.351 GB, free: 234.9 MB / 0.7013 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01182/3.36, allocations: 3.867 MB / 1.355 GB, free: 233.8 MB / 0.7013 GB Notification: Performance of SimCode: time 1.694e-06/3.36, allocations: 0 / 1.355 GB, free: 233.8 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7081/4.068, allocations: 296.1 MB / 1.644 GB, free: 218.1 MB / 0.7013 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001333/4.068, allocations: 239.3 kB / 1.644 GB, free: 217.9 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.659/11.73, allocations: 4 kB / 1.644 GB, free: 217.9 MB / 0.7013 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example1v2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example1v2.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.pipe 2>&1) Environment - environmentSimulation: