Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example3,fileNamePrefix="IDEAS_dev_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.001526/0.001526, 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.253/1.253, allocations: 133.6 MB / 141.6 MB, free: 2.871 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.612/2.612, allocations: 221.5 MB / 395.4 MB, free: 10.76 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.001903/0.001904, allocations: 104.6 kB / 478.2 MB, free: 1.277 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.374e-05/3.376e-05, allocations: 8 kB / 0.5535 GB, free: 8.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9402/0.9402, allocations: 82.3 MB / 0.6339 GB, free: 40.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.591/2.531, allocations: 363.9 MB / 0.9893 GB, free: 4.578 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003309/2.532, allocations: 87.64 kB / 0.9894 GB, free: 4.535 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.891/7.422, allocations: 0.6976 GB / 1.687 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.004e-06/7.422, allocations: 0 / 1.687 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004556/7.423, allocations: 49.59 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.008093/7.431, allocations: 1.861 MB / 1.689 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.873e-05/7.431, allocations: 10.34 kB / 1.689 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002851/7.434, allocations: 286.8 kB / 1.689 GB, free: 135 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01151/7.446, allocations: 2.534 MB / 1.692 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/7.446, allocations: 30.12 kB / 1.692 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004675/7.446, allocations: 63.69 kB / 1.692 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002799/7.449, allocations: 0.8464 MB / 1.693 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002609/7.452, allocations: 1.067 MB / 1.694 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.625e-05/7.452, allocations: 5.156 kB / 1.694 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/7.452, allocations: 3.844 kB / 1.694 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-05/7.452, allocations: 29.83 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.01204/7.464, allocations: 6.407 MB / 1.7 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/7.465, allocations: 0.5787 MB / 1.7 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007363/7.466, allocations: 365.3 kB / 1.701 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004488/7.471, allocations: 1.576 MB / 1.702 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007823/7.472, allocations: 326.2 kB / 1.703 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001596/7.473, allocations: 110.1 kB / 1.703 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 6.211e-06/7.473, allocations: 0 / 1.703 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.003461/7.477, allocations: 0.8166 MB / 1.704 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/7.477, allocations: 58.88 kB / 1.704 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004447/7.481, allocations: 1.363 MB / 1.705 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002134/7.481, allocations: 25.7 kB / 1.705 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001281/7.483, allocations: 0.8581 MB / 1.706 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003265/7.483, allocations: 155.8 kB / 1.706 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/7.483, allocations: 0 / 1.706 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001346/7.483, allocations: 343.5 kB / 1.706 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006873/7.484, allocations: 251.5 kB / 1.706 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/7.485, allocations: 0.6798 MB / 1.707 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001898/7.487, allocations: 410.9 kB / 1.708 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.192e-05/7.487, allocations: 6.219 kB / 1.708 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004352/7.491, allocations: 1.112 MB / 1.709 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.00172/7.493, allocations: 4.104 MB / 1.713 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.341e-05/7.493, allocations: 12.41 kB / 1.713 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005275/7.494, allocations: 120.2 kB / 1.713 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/7.495, allocations: 172.5 kB / 1.713 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001031/7.496, allocations: 0.7903 MB / 1.714 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002578/7.499, allocations: 86.41 kB / 1.714 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000215/7.499, allocations: 55.16 kB / 1.714 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/7.499, allocations: 5.75 kB / 1.714 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003277/7.502, allocations: 0.9148 MB / 1.715 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-05/7.502, allocations: 6.969 kB / 1.715 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003612/7.503, allocations: 122.9 kB / 1.715 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/7.504, allocations: 161.6 kB / 1.715 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00319/7.507, allocations: 2.027 MB / 1.717 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002368/7.509, allocations: 81.22 kB / 1.717 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002188/7.51, allocations: 43.69 kB / 1.717 GB, free: 120.8 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.0005199/7.51, allocations: 136.1 kB / 1.717 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003159/7.513, allocations: 0.7555 MB / 1.718 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007039/7.514, allocations: 165.9 kB / 1.718 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003376/7.517, allocations: 0.9113 MB / 1.719 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/7.517, allocations: 3.312 kB / 1.719 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/7.517, allocations: 7.109 kB / 1.719 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00195/7.519, allocations: 0.8674 MB / 1.72 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007459/7.527, allocations: 1.97 MB / 1.722 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/7.527, allocations: 3.719 kB / 1.722 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007554/7.528, allocations: 88.31 kB / 1.722 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003428/7.528, allocations: 99.61 kB / 1.722 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.35e-05/7.528, allocations: 7.391 kB / 1.722 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007626/7.529, allocations: 0.7368 MB / 1.723 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/7.529, allocations: 0 / 1.723 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003429/7.532, allocations: 1.276 MB / 1.724 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001616/7.534, allocations: 312.7 kB / 1.724 GB, free: 117 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008265/7.535, allocations: 3.875 kB / 1.724 GB, free: 117 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002013/7.537, allocations: 70.64 kB / 1.724 GB, free: 117 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/7.537, allocations: 41.31 kB / 1.724 GB, free: 117 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/7.537, allocations: 22.08 kB / 1.724 GB, free: 117 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003274/7.541, allocations: 1.052 MB / 1.725 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.61e-07/7.541, allocations: 1.844 kB / 1.725 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006169/7.547, allocations: 0.8516 MB / 1.726 GB, free: 116.4 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.006371/7.553, allocations: 2.564 MB / 1.729 GB, free: 115 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00372/7.557, allocations: 1.356 MB / 1.73 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/7.557, allocations: 0 / 1.73 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007508/7.558, allocations: 301.3 kB / 1.73 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005641/7.563, allocations: 0.6243 MB / 1.731 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/7.574, allocations: 2.66 MB / 1.734 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002075/7.576, allocations: 1.535 MB / 1.735 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.005622/7.582, allocations: 0.8139 MB / 1.736 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001469/7.584, allocations: 0.6302 MB / 1.736 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of SimCode: time 2.534e-06/7.584, allocations: 0 / 1.736 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1265/7.71, allocations: 45.34 MB / 1.781 GB, free: 72.06 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002196/7.71, allocations: 155.3 kB / 1.781 GB, free: 71.87 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.232/13.94, allocations: 0 / 1.781 GB, free: 71.87 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example3.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe 2>&1)