Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.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.Example2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example2",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.01524/0.01524, allocations: 171.4 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.34/1.34, allocations: 135.2 MB / 151 MB, free: 13.83 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.005/3.005, allocations: 223.2 MB / 406.8 MB, free: 3.23 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.001386/0.001386, allocations: 107.1 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008398/0.0008398, allocations: 12 kB / 0.5691 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.966/0.9669, allocations: 82.3 MB / 0.6495 GB, free: 36.09 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.566/2.533, allocations: 364.6 MB / 1.006 GB, free: 8.586 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000499/2.533, allocations: 99.52 kB / 1.006 GB, free: 8.531 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.605/6.138, allocations: 490.9 MB / 1.485 GB, free: 91.83 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.76e-06/6.138, allocations: 0 / 1.485 GB, free: 91.83 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003183/6.138, allocations: 43.3 kB / 1.485 GB, free: 91.79 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.009107/6.147, allocations: 1.967 MB / 1.487 GB, free: 89.79 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 9.394e-05/6.148, allocations: 8.031 kB / 1.487 GB, free: 89.78 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006325/6.148, allocations: 129.7 kB / 1.487 GB, free: 89.64 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001972/6.15, allocations: 237.8 kB / 1.487 GB, free: 89.41 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008075/6.158, allocations: 1.975 MB / 1.489 GB, free: 87.43 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/6.159, allocations: 73.94 kB / 1.489 GB, free: 87.35 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002806/6.159, allocations: 84 kB / 1.489 GB, free: 87.27 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002644/6.162, allocations: 0.953 MB / 1.49 GB, free: 86.27 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.833e-05/6.162, allocations: 7.938 kB / 1.49 GB, free: 86.26 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/6.162, allocations: 32 kB / 1.49 GB, free: 86.23 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.905e-05/6.162, allocations: 19.95 kB / 1.49 GB, free: 86.21 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/6.164, allocations: 0.7142 MB / 1.491 GB, free: 85.49 MB / 0.6823 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.01084/6.175, allocations: 4.596 MB / 1.496 GB, free: 80.66 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002136/6.177, allocations: 0.5956 MB / 1.496 GB, free: 80.05 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005485/6.182, allocations: 1.699 MB / 1.498 GB, free: 78.23 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00114/6.183, allocations: 342.2 kB / 1.498 GB, free: 77.89 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001489/6.185, allocations: 117.8 kB / 1.498 GB, free: 77.78 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=46): time 1.139e-05/6.185, allocations: 4 kB / 1.498 GB, free: 77.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46): time 0.004816/6.19, allocations: 1.123 MB / 1.499 GB, free: 76.63 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.104e-05/6.19, allocations: 55.41 kB / 1.499 GB, free: 76.56 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00375/6.194, allocations: 1.123 MB / 1.501 GB, free: 75.43 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002038/6.194, allocations: 41.7 kB / 1.501 GB, free: 75.38 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001142/6.195, allocations: 0.6461 MB / 1.501 GB, free: 74.73 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003166/6.196, allocations: 155.6 kB / 1.501 GB, free: 74.58 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.449e-05/6.196, allocations: 16 kB / 1.501 GB, free: 74.57 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001718/6.196, allocations: 341.9 kB / 1.502 GB, free: 74.23 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009838/6.197, allocations: 237.8 kB / 1.502 GB, free: 74 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00165/6.198, allocations: 0.5748 MB / 1.503 GB, free: 73.26 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/6.2, allocations: 349.4 kB / 1.503 GB, free: 72.92 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.556e-05/6.2, allocations: 0 / 1.503 GB, free: 72.92 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00388/6.204, allocations: 1.014 MB / 1.504 GB, free: 71.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001874/6.206, allocations: 3.053 MB / 1.507 GB, free: 68.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.151e-05/6.206, allocations: 4 kB / 1.507 GB, free: 68.65 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000716/6.206, allocations: 146.5 kB / 1.507 GB, free: 68.51 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/6.207, allocations: 147.8 kB / 1.507 GB, free: 68.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/6.209, allocations: 0.7629 MB / 1.508 GB, free: 67.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002263/6.211, allocations: 83.86 kB / 1.508 GB, free: 67.49 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001717/6.211, allocations: 43.98 kB / 1.508 GB, free: 67.45 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/6.211, allocations: 5.25 kB / 1.508 GB, free: 67.45 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002663/6.214, allocations: 0.9208 MB / 1.509 GB, free: 66.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/6.214, allocations: 8 kB / 1.509 GB, free: 66.49 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003328/6.214, allocations: 104.8 kB / 1.509 GB, free: 66.39 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007703/6.215, allocations: 148.1 kB / 1.509 GB, free: 66.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003155/6.218, allocations: 2.226 MB / 1.511 GB, free: 63.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002235/6.22, allocations: 83.55 kB / 1.511 GB, free: 63.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002158/6.221, allocations: 39.98 kB / 1.511 GB, free: 63.75 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * 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 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.001999/6.223, allocations: 480.7 kB / 1.512 GB, free: 63.27 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000786/6.223, allocations: 130.4 kB / 1.512 GB, free: 63.14 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003808/6.227, allocations: 0.8833 MB / 1.513 GB, free: 62.25 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.391e-05/6.227, allocations: 11.95 kB / 1.513 GB, free: 62.24 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/6.227, allocations: 0 / 1.513 GB, free: 62.24 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002426/6.23, allocations: 0.8798 MB / 1.514 GB, free: 61.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007356/6.237, allocations: 1.875 MB / 1.516 GB, free: 59.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/6.237, allocations: 0 / 1.516 GB, free: 59.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007326/6.238, allocations: 91.94 kB / 1.516 GB, free: 59.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004831/6.239, allocations: 124.6 kB / 1.516 GB, free: 59.15 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.593e-05/6.239, allocations: 11.98 kB / 1.516 GB, free: 59.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009543/6.24, allocations: 0.7473 MB / 1.517 GB, free: 58.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/6.24, allocations: 8 kB / 1.517 GB, free: 58.36 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003833/6.244, allocations: 1.226 MB / 1.518 GB, free: 57.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001679/6.245, allocations: 283.2 kB / 1.518 GB, free: 56.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007462/6.246, allocations: 11.56 kB / 1.518 GB, free: 56.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001909/6.248, allocations: 60 kB / 1.518 GB, free: 56.73 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000226/6.248, allocations: 44.38 kB / 1.518 GB, free: 56.69 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001284/6.248, allocations: 23.98 kB / 1.518 GB, free: 56.66 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003309/6.252, allocations: 0.8819 MB / 1.519 GB, free: 55.78 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.985e-06/6.252, allocations: 4 kB / 1.519 GB, free: 55.78 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006215/6.258, allocations: 0.7282 MB / 1.52 GB, free: 55.05 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.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 (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 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.007691/6.266, allocations: 2.533 MB / 1.522 GB, free: 52.57 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005344/6.271, allocations: 1.313 MB / 1.523 GB, free: 51.23 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/6.271, allocations: 0 / 1.523 GB, free: 51.23 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001426/6.273, allocations: 334.9 kB / 1.524 GB, free: 50.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006124/6.279, allocations: 0.5558 MB / 1.524 GB, free: 50.37 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01921/6.298, allocations: 8.823 MB / 1.533 GB, free: 41.34 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/6.299, allocations: 1.303 MB / 1.534 GB, free: 40 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002715/6.302, allocations: 314 kB / 1.535 GB, free: 39.71 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/6.303, allocations: 0.4954 MB / 1.535 GB, free: 39.22 MB / 0.6823 GB Notification: Performance of SimCode: time 2.134e-06/6.303, allocations: 0 / 1.535 GB, free: 39.22 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.098/7.401, allocations: 40.74 MB / 1.575 GB, free: 132 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003201/7.402, allocations: 236.9 kB / 1.575 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.402/13.8, allocations: 0 / 1.575 GB, free: 131.8 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example2.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe 2>&1)