Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example3.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.Example3,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example3,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example3",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.001739/0.001739, allocations: 176.2 kB / 7.649 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.8841/0.8841, allocations: 133.6 MB / 141.6 MB, free: 2.859 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.479/1.479, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.001056/0.001056, allocations: 99.52 kB / 478.2 MB, free: 1.34 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.27e-05/2.273e-05, allocations: 4 kB / 0.5535 GB, free: 8.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4941/0.4941, allocations: 82.3 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8514/1.346, allocations: 363.9 MB / 0.9893 GB, free: 4.43 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/1.346, allocations: 90.08 kB / 0.9894 GB, free: 4.387 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.643/3.989, allocations: 0.6976 GB / 1.687 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.533e-06/3.989, allocations: 0 / 1.687 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003618/3.989, allocations: 45.84 kB / 1.687 GB, free: 135.9 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.005596/3.995, allocations: 1.863 MB / 1.689 GB, free: 135 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/3.995, allocations: 7.844 kB / 1.689 GB, free: 135 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001708/3.997, allocations: 288.9 kB / 1.689 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005687/4.002, allocations: 2.527 MB / 1.692 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.265e-05/4.002, allocations: 29.47 kB / 1.692 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/4.003, allocations: 67.69 kB / 1.692 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001375/4.004, allocations: 0.8423 MB / 1.693 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/4.005, allocations: 1.071 MB / 1.694 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/4.005, allocations: 6.5 kB / 1.694 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.525e-05/4.006, allocations: 7.125 kB / 1.694 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/4.006, allocations: 27.05 kB / 1.694 GB, free: 134.2 MB / 0.6823 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.006814/4.012, allocations: 6.41 MB / 1.7 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007661/4.013, allocations: 0.5782 MB / 1.7 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004079/4.014, allocations: 370.8 kB / 1.701 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002433/4.016, allocations: 1.571 MB / 1.702 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000448/4.017, allocations: 329.5 kB / 1.703 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005479/4.017, allocations: 115.3 kB / 1.703 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 2.615e-06/4.017, allocations: 0 / 1.703 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.001686/4.019, allocations: 0.815 MB / 1.704 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/4.019, allocations: 62 kB / 1.704 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/4.02, allocations: 1.358 MB / 1.705 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.34e-05/4.02, allocations: 29.3 kB / 1.705 GB, free: 129 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000578/4.021, allocations: 0.8462 MB / 1.706 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/4.021, allocations: 169.2 kB / 1.706 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/4.021, allocations: 1.625 kB / 1.706 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.763e-05/4.021, allocations: 342.2 kB / 1.706 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003274/4.022, allocations: 248.2 kB / 1.706 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005772/4.022, allocations: 0.6819 MB / 1.707 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000886/4.023, allocations: 408.4 kB / 1.708 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/4.023, allocations: 3.25 kB / 1.708 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001898/4.025, allocations: 1.114 MB / 1.709 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000993/4.026, allocations: 4.101 MB / 1.713 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.889e-05/4.026, allocations: 11.75 kB / 1.713 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003057/4.026, allocations: 122.3 kB / 1.713 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006398/4.027, allocations: 174.9 kB / 1.713 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005514/4.028, allocations: 0.7846 MB / 1.714 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/4.029, allocations: 88.84 kB / 1.714 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-05/4.029, allocations: 42.33 kB / 1.714 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.288e-06/4.029, allocations: 6.875 kB / 1.714 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001612/4.03, allocations: 0.925 MB / 1.715 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/4.031, allocations: 18.02 kB / 1.715 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001791/4.031, allocations: 109.9 kB / 1.715 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005343/4.031, allocations: 167.9 kB / 1.715 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/4.033, allocations: 2.028 MB / 1.717 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/4.034, allocations: 77.69 kB / 1.717 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.225e-05/4.034, allocations: 42.83 kB / 1.717 GB, free: 120.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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,mergeDp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002262/4.034, allocations: 142.7 kB / 1.717 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001396/4.036, allocations: 0.7529 MB / 1.718 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/4.036, allocations: 162.9 kB / 1.718 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001703/4.038, allocations: 0.8973 MB / 1.719 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/4.038, allocations: 7.562 kB / 1.719 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/4.038, allocations: 3.953 kB / 1.719 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001101/4.039, allocations: 0.874 MB / 1.72 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003204/4.042, allocations: 1.979 MB / 1.722 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/4.042, allocations: 1.781 kB / 1.722 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004337/4.043, allocations: 90.56 kB / 1.722 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001981/4.043, allocations: 98.09 kB / 1.722 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.818e-05/4.043, allocations: 11.53 kB / 1.722 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004327/4.043, allocations: 0.7347 MB / 1.723 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/4.043, allocations: 0 / 1.723 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/4.045, allocations: 1.282 MB / 1.724 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005632/4.045, allocations: 304 kB / 1.724 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/4.046, allocations: 6.688 kB / 1.724 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007586/4.046, allocations: 69.33 kB / 1.724 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/4.046, allocations: 44.88 kB / 1.724 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.739e-05/4.047, allocations: 21.08 kB / 1.724 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001368/4.048, allocations: 1.047 MB / 1.725 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/4.048, allocations: 0 / 1.725 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003063/4.051, allocations: 0.8529 MB / 1.726 GB, free: 116.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.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 (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.003536/4.055, allocations: 2.565 MB / 1.729 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002299/4.057, allocations: 1.35 MB / 1.73 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/4.057, allocations: 1.875 kB / 1.73 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004207/4.057, allocations: 299.2 kB / 1.73 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00288/4.06, allocations: 0.6234 MB / 1.731 GB, free: 114 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004756/4.065, allocations: 2.67 MB / 1.734 GB, free: 113 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000819/4.066, allocations: 1.534 MB / 1.735 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002479/4.068, allocations: 0.809 MB / 1.736 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000641/4.069, allocations: 0.6328 MB / 1.736 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.413e-06/4.069, allocations: 0 / 1.736 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07579/4.145, allocations: 45.32 MB / 1.781 GB, free: 71.84 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000128/4.145, allocations: 151 kB / 1.781 GB, free: 71.64 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.583/7.728, allocations: 0 / 1.781 GB, free: 71.64 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example3.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe 2>&1)