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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001647/0.001647, 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 0.7971/0.7971, allocations: 133.6 MB / 141.6 MB, free: 2.91 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.614/1.614, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.001011/0.001011, allocations: 101.1 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.715e-05/2.721e-05, allocations: 4 kB / 0.5535 GB, free: 8.984 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4554/0.4554, allocations: 82.31 MB / 0.6339 GB, free: 40.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.822/1.277, allocations: 381 MB / 1.006 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/1.278, allocations: 91.14 kB / 1.006 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 9.195/10.47, allocations: 2.311 GB / 3.317 GB, free: 52.7 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.864e-06/10.47, allocations: 4.766 kB / 3.317 GB, free: 52.7 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.001917/10.47, allocations: 265.8 kB / 3.317 GB, free: 52.64 MB / 0.7136 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.03206/10.51, allocations: 7.37 MB / 3.324 GB, free: 49.75 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/10.51, allocations: 7.062 kB / 3.324 GB, free: 49.75 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009692/10.52, allocations: 1.25 MB / 3.326 GB, free: 49.24 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03677/10.55, allocations: 12.8 MB / 3.338 GB, free: 47.92 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005092/10.55, allocations: 183.1 kB / 3.338 GB, free: 47.92 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003522/10.56, allocations: 352.9 kB / 3.339 GB, free: 47.92 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02926/10.59, allocations: 17.76 MB / 3.356 GB, free: 47.89 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02997/10.62, allocations: 12.55 MB / 3.368 GB, free: 47.06 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004378/10.62, allocations: 22.25 kB / 3.368 GB, free: 47.06 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002955/10.62, allocations: 13.62 kB / 3.368 GB, free: 47.06 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001221/10.62, allocations: 136.4 kB / 3.368 GB, free: 47.06 MB / 0.7136 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.09363/10.71, allocations: 54.6 MB / 3.422 GB, free: 28 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01081/10.72, allocations: 8.639 MB / 3.43 GB, free: 24.25 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01049/10.74, allocations: 9.191 MB / 3.439 GB, free: 19.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04817/10.78, allocations: 26.29 MB / 3.465 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00936/10.79, allocations: 7.212 MB / 3.472 GB, free: 6.43 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.6487/11.44, allocations: 21.04 MB / 3.492 GB, free: 78.46 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=301): time 4.645e-05/11.44, allocations: 0 / 3.492 GB, free: 78.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=301): time 0.03609/11.48, allocations: 15.04 MB / 3.507 GB, free: 78.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/11.48, allocations: 86.72 kB / 3.507 GB, free: 78.14 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01118/11.49, allocations: 6.508 MB / 3.513 GB, free: 77.75 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.002711/11.49, allocations: 36.72 kB / 3.513 GB, free: 77.71 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.003803/11.5, allocations: 4.025 MB / 3.517 GB, free: 76.96 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.003403/11.5, allocations: 1.045 MB / 3.518 GB, free: 76.43 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008497/11.5, allocations: 7.375 kB / 3.518 GB, free: 76.43 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003141/11.5, allocations: 495.5 kB / 3.519 GB, free: 76.11 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006725/11.51, allocations: 6.023 MB / 3.525 GB, free: 76.1 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009015/11.52, allocations: 7.793 MB / 3.532 GB, free: 73.87 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01578/11.53, allocations: 7.547 MB / 3.54 GB, free: 73.71 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.115e-05/11.53, allocations: 14.69 kB / 3.54 GB, free: 73.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.0344/11.57, allocations: 16.57 MB / 3.556 GB, free: 73.09 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.005486/11.57, allocations: 24.72 MB / 3.58 GB, free: 47.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001326/11.57, allocations: 46.59 kB / 3.58 GB, free: 47.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004245/11.58, allocations: 1.55 MB / 3.582 GB, free: 47.17 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009026/11.59, allocations: 1.604 MB / 3.583 GB, free: 47.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01335/11.6, allocations: 6.941 MB / 3.59 GB, free: 44.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0127/11.61, allocations: 0.5101 MB / 3.59 GB, free: 44.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003178/11.61, allocations: 0.5436 MB / 3.591 GB, free: 44.11 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/11.61, allocations: 6.031 kB / 3.591 GB, free: 44.11 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03579/11.65, allocations: 15.74 MB / 3.606 GB, free: 43.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002078/11.65, allocations: 47.62 kB / 3.606 GB, free: 43.74 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003779/11.65, allocations: 1.426 MB / 3.608 GB, free: 43.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008749/11.66, allocations: 1.599 MB / 3.609 GB, free: 43.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01734/11.68, allocations: 10.51 MB / 3.62 GB, free: 39.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01134/11.69, allocations: 482 kB / 3.62 GB, free: 38.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002741/11.69, allocations: 0.537 MB / 3.621 GB, free: 38.95 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.00409/11.7, allocations: 262 kB / 3.621 GB, free: 38.83 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03265/11.73, allocations: 14.88 MB / 3.635 GB, free: 38.2 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004278/11.74, allocations: 0.7092 MB / 3.636 GB, free: 37.82 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03135/11.77, allocations: 13.76 MB / 3.65 GB, free: 37.28 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.343e-05/11.77, allocations: 32.31 kB / 3.65 GB, free: 37.28 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/11.77, allocations: 4 kB / 3.65 GB, free: 37.28 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01805/11.79, allocations: 10.45 MB / 3.66 GB, free: 36.75 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04631/11.83, allocations: 23.51 MB / 3.683 GB, free: 27.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/11.83, allocations: 4.062 kB / 3.683 GB, free: 27.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005192/11.84, allocations: 0.6934 MB / 3.683 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001692/11.84, allocations: 0.7076 MB / 3.684 GB, free: 27.51 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008259/11.84, allocations: 68.89 kB / 3.684 GB, free: 27.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008011/11.85, allocations: 5.005 MB / 3.689 GB, free: 24.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/11.85, allocations: 7.875 kB / 3.689 GB, free: 24.02 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03063/11.88, allocations: 18.46 MB / 3.707 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007283/11.89, allocations: 1.946 MB / 3.709 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00352/11.89, allocations: 15.09 kB / 3.709 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008661/11.9, allocations: 358.5 kB / 3.709 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001092/11.9, allocations: 224.1 kB / 3.71 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001021/11.9, allocations: 158.2 kB / 3.71 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.009965/11.91, allocations: 4.94 MB / 3.715 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.81e-07/11.91, allocations: 0 / 3.715 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.02704/11.94, allocations: 5.018 MB / 3.719 GB, free: 5.93 MB / 0.7292 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.05331/11.99, allocations: 21.38 MB / 3.74 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.6084/12.6, allocations: 23.52 MB / 3.763 GB, free: 89.04 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.516e-05/12.6, allocations: 5.219 kB / 3.763 GB, free: 89.04 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00887/12.61, allocations: 6.008 MB / 3.769 GB, free: 88.91 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02338/12.63, allocations: 3.984 MB / 3.773 GB, free: 88.88 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0465/12.68, allocations: 19.14 MB / 3.792 GB, free: 86.01 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004972/12.68, allocations: 5.415 MB / 3.797 GB, free: 85.13 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.03003/12.71, allocations: 7.429 MB / 3.804 GB, free: 84.74 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009613/12.72, allocations: 3.709 MB / 3.808 GB, free: 84.74 MB / 0.7448 GB Notification: Performance of SimCode: time 1.383e-06/12.72, allocations: 0 / 3.808 GB, free: 84.74 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.026/13.75, allocations: 267.5 MB / 4.069 GB, free: 97.71 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/13.75, allocations: 148.3 kB / 4.069 GB, free: 97.52 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/25.1, allocations: 0 / 4.069 GB, free: 97.52 MB / 0.7761 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)