Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Examples.PumpsSeries.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.Movers.Examples.PumpsSeries,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_PumpsSeries",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.001109/0.001109, allocations: 180.9 kB / 7.651 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.7717/0.7717, allocations: 133.6 MB / 141.6 MB, free: 2.887 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.533/1.533, allocations: 221.5 MB / 395.4 MB, free: 10.77 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.0008461/0.000846, allocations: 99.98 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.463e-05/2.475e-05, allocations: 4 kB / 0.5535 GB, free: 8.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4922/0.4922, allocations: 82.3 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8288/1.321, allocations: 396.2 MB / 1.021 GB, free: 5.336 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003788/1.322, allocations: 89.52 kB / 1.021 GB, free: 5.293 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.824/4.145, allocations: 0.6852 GB / 1.706 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.894e-06/4.146, allocations: 0 / 1.706 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003718/4.146, allocations: 55.31 kB / 1.706 GB, free: 106.8 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.005489/4.151, allocations: 1.878 MB / 1.708 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/4.151, allocations: 7.688 kB / 1.708 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003322/4.155, allocations: 0.5407 MB / 1.709 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03042/4.185, allocations: 14.2 MB / 1.722 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/4.185, allocations: 32.12 kB / 1.722 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004632/4.186, allocations: 67.78 kB / 1.722 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002122/4.188, allocations: 0.8557 MB / 1.723 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002547/4.191, allocations: 1.036 MB / 1.724 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/4.191, allocations: 3.25 kB / 1.724 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001657/4.191, allocations: 6.156 kB / 1.724 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.144e-05/4.191, allocations: 43.92 kB / 1.724 GB, free: 104.7 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.01062/4.201, allocations: 5.514 MB / 1.73 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/4.203, allocations: 0.8205 MB / 1.731 GB, free: 102 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005008/4.203, allocations: 367.3 kB / 1.731 GB, free: 102 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004107/4.207, allocations: 2.298 MB / 1.733 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/4.208, allocations: 41.44 kB / 1.733 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008995/4.208, allocations: 103 kB / 1.733 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=65): time 3.166e-06/4.208, allocations: 0 / 1.733 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=65): time 0.003783/4.212, allocations: 1.143 MB / 1.734 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/4.212, allocations: 55.94 kB / 1.734 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002447/4.215, allocations: 1.155 MB / 1.736 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001018/4.215, allocations: 31.22 kB / 1.736 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006382/4.216, allocations: 0.7748 MB / 1.736 GB, free: 99.59 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002053/4.216, allocations: 224.3 kB / 1.737 GB, free: 99.42 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.108e-05/4.216, allocations: 1.406 kB / 1.737 GB, free: 99.42 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.173e-05/4.216, allocations: 345.1 kB / 1.737 GB, free: 99.09 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004604/4.216, allocations: 332 kB / 1.737 GB, free: 98.97 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006281/4.217, allocations: 0.6688 MB / 1.738 GB, free: 98.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/4.219, allocations: 0.5172 MB / 1.738 GB, free: 98.25 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/4.219, allocations: 3.938 kB / 1.738 GB, free: 98.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002944/4.222, allocations: 1.313 MB / 1.74 GB, free: 97.77 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007418/4.222, allocations: 3.33 MB / 1.743 GB, free: 94.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-05/4.222, allocations: 7.625 kB / 1.743 GB, free: 94.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007963/4.223, allocations: 286 kB / 1.743 GB, free: 94.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008801/4.224, allocations: 219.3 kB / 1.743 GB, free: 94.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/4.225, allocations: 1.523 MB / 1.745 GB, free: 92.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/4.227, allocations: 68.27 kB / 1.745 GB, free: 92.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/4.227, allocations: 74.44 kB / 1.745 GB, free: 92.87 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/4.227, allocations: 4.281 kB / 1.745 GB, free: 92.87 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002629/4.23, allocations: 1.069 MB / 1.746 GB, free: 92.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/4.23, allocations: 7.219 kB / 1.746 GB, free: 92.53 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000747/4.23, allocations: 298.2 kB / 1.746 GB, free: 92.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007533/4.231, allocations: 200.4 kB / 1.747 GB, free: 92.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005479/4.237, allocations: 3.822 MB / 1.75 GB, free: 89.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/4.238, allocations: 67.2 kB / 1.75 GB, free: 89.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001719/4.238, allocations: 59.67 kB / 1.75 GB, free: 89.79 MB / 0.6823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMac2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real floMac1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 90 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.000435/4.239, allocations: 138.3 kB / 1.751 GB, free: 89.66 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003508/4.242, allocations: 1.071 MB / 1.752 GB, free: 89.28 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000446/4.243, allocations: 161.5 kB / 1.752 GB, free: 89.19 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003791/4.246, allocations: 1.339 MB / 1.753 GB, free: 88.75 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/4.246, allocations: 15.86 kB / 1.753 GB, free: 88.75 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/4.246, allocations: 0 / 1.753 GB, free: 88.75 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/4.246, allocations: 2.812 kB / 1.753 GB, free: 88.75 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 postOpt removeSimpleEquations (simulation): time 0.00568/4.252, allocations: 2.469 MB / 1.756 GB, free: 87.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.381e-06/4.252, allocations: 3.031 kB / 1.756 GB, free: 87.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005762/4.253, allocations: 122.5 kB / 1.756 GB, free: 87.67 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004777/4.253, allocations: 202 kB / 1.756 GB, free: 87.61 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-05/4.253, allocations: 20.33 kB / 1.756 GB, free: 87.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009517/4.254, allocations: 1.376 MB / 1.757 GB, free: 86.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/4.254, allocations: 3.625 kB / 1.757 GB, free: 86.41 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003095/4.257, allocations: 1.688 MB / 1.759 GB, free: 85.58 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007741/4.258, allocations: 327.5 kB / 1.759 GB, free: 85.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003802/4.259, allocations: 3.156 kB / 1.759 GB, free: 85.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/4.26, allocations: 85.08 kB / 1.759 GB, free: 85.33 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/4.26, allocations: 51.5 kB / 1.759 GB, free: 85.32 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.409e-05/4.26, allocations: 38.62 kB / 1.759 GB, free: 85.32 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001538/4.261, allocations: 0.8691 MB / 1.76 GB, free: 84.94 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.61e-07/4.261, allocations: 0 / 1.76 GB, free: 84.94 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00419/4.266, allocations: 0.9924 MB / 1.761 GB, free: 84.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (floMac1.filter.s[1],floMac1.filter.s[2],floMac2.filter.s[1],floMac2.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.006152/4.272, allocations: 3.636 MB / 1.765 GB, free: 82.86 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002917/4.275, allocations: 1.592 MB / 1.766 GB, free: 82.23 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/4.275, allocations: 3.906 kB / 1.766 GB, free: 82.23 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006698/4.276, allocations: 415.7 kB / 1.767 GB, free: 82.09 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003491/4.279, allocations: 0.6492 MB / 1.767 GB, free: 81.96 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006694/4.286, allocations: 2.539 MB / 1.77 GB, free: 80.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001182/4.287, allocations: 1.401 MB / 1.771 GB, free: 79.54 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002813/4.29, allocations: 0.5442 MB / 1.772 GB, free: 79.18 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000854/4.291, allocations: 0.6523 MB / 1.772 GB, free: 78.59 MB / 0.6823 GB Notification: Performance of SimCode: time 1.042e-06/4.291, allocations: 0 / 1.772 GB, free: 78.59 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09049/4.381, allocations: 53.77 MB / 1.825 GB, free: 26.03 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001344/4.381, allocations: 160.3 kB / 1.825 GB, free: 25.82 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.955/8.336, allocations: 0 / 1.825 GB, free: 25.82 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.PumpsSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Examples_PumpsSeries_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Examples_PumpsSeries.fmu > IDEAS_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1)