Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="IDEAS_dev_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.001424/0.001424, 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.7877/0.7877, allocations: 133.6 MB / 141.6 MB, free: 2.895 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.569/1.569, 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.001158/0.001158, allocations: 96.16 kB / 478.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.505e-05/2.523e-05, allocations: 4 kB / 0.5535 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6201/0.6202, allocations: 82.3 MB / 0.6339 GB, free: 40.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8483/1.469, allocations: 396.2 MB / 1.021 GB, free: 5.656 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/1.469, allocations: 82.2 kB / 1.021 GB, free: 5.617 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.94/4.409, allocations: 0.6852 GB / 1.706 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.144e-06/4.409, allocations: 0 / 1.706 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003413/4.409, allocations: 51.83 kB / 1.706 GB, free: 106.5 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.006265/4.416, allocations: 1.88 MB / 1.708 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/4.416, allocations: 11.5 kB / 1.708 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003446/4.419, allocations: 0.5418 MB / 1.709 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03231/4.451, allocations: 14.2 MB / 1.722 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/4.452, allocations: 31.5 kB / 1.722 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006589/4.452, allocations: 66.56 kB / 1.722 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002366/4.455, allocations: 0.8533 MB / 1.723 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/4.457, allocations: 1.039 MB / 1.724 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/4.457, allocations: 6.031 kB / 1.724 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/4.457, allocations: 2.625 kB / 1.724 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.294e-05/4.457, allocations: 39.19 kB / 1.724 GB, free: 104.4 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.008734/4.466, allocations: 5.52 MB / 1.73 GB, free: 101.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/4.467, allocations: 0.8133 MB / 1.731 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004275/4.467, allocations: 368.1 kB / 1.731 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003388/4.47, allocations: 2.299 MB / 1.733 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/4.471, allocations: 37.75 kB / 1.733 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006399/4.471, allocations: 110.6 kB / 1.733 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=65): time 3.036e-06/4.471, allocations: 0 / 1.733 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=65): time 0.003306/4.474, allocations: 1.141 MB / 1.734 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/4.475, allocations: 61.47 kB / 1.734 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/4.476, allocations: 1.151 MB / 1.736 GB, free: 99.97 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.785e-05/4.476, allocations: 28.58 kB / 1.736 GB, free: 99.94 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005897/4.477, allocations: 0.7838 MB / 1.736 GB, free: 99.61 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001755/4.477, allocations: 216.3 kB / 1.737 GB, free: 99.43 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.084e-05/4.477, allocations: 3.828 kB / 1.737 GB, free: 99.43 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.335e-05/4.477, allocations: 345.4 kB / 1.737 GB, free: 99.11 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004336/4.478, allocations: 330.1 kB / 1.737 GB, free: 98.99 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005967/4.478, allocations: 0.6704 MB / 1.738 GB, free: 98.42 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/4.48, allocations: 0.5195 MB / 1.738 GB, free: 98.26 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/4.48, allocations: 5.375 kB / 1.738 GB, free: 98.26 MB / 0.6823 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002787/4.483, allocations: 1.309 MB / 1.74 GB, free: 97.78 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007223/4.483, allocations: 3.328 MB / 1.743 GB, free: 94.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/4.483, allocations: 10.84 kB / 1.743 GB, free: 94.21 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007492/4.484, allocations: 285 kB / 1.743 GB, free: 94.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009006/4.485, allocations: 217.7 kB / 1.743 GB, free: 94.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/4.486, allocations: 1.524 MB / 1.745 GB, free: 92.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/4.488, allocations: 71.27 kB / 1.745 GB, free: 92.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001568/4.488, allocations: 71.61 kB / 1.745 GB, free: 92.88 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/4.488, allocations: 3.875 kB / 1.745 GB, free: 92.88 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002541/4.491, allocations: 1.065 MB / 1.746 GB, free: 92.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/4.491, allocations: 8.219 kB / 1.746 GB, free: 92.54 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007443/4.491, allocations: 304.1 kB / 1.746 GB, free: 92.46 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007299/4.492, allocations: 208.1 kB / 1.747 GB, free: 92.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005512/4.498, allocations: 3.814 MB / 1.75 GB, free: 89.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/4.499, allocations: 66.95 kB / 1.75 GB, free: 89.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/4.499, allocations: 68.5 kB / 1.75 GB, free: 89.8 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.0003957/4.5, allocations: 136.2 kB / 1.751 GB, free: 89.68 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003494/4.503, allocations: 1.072 MB / 1.752 GB, free: 89.29 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002436/4.503, allocations: 157 kB / 1.752 GB, free: 89.21 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003519/4.507, allocations: 1.342 MB / 1.753 GB, free: 88.76 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/4.507, allocations: 7.094 kB / 1.753 GB, free: 88.76 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/4.507, allocations: 6.594 kB / 1.753 GB, free: 88.76 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/4.507, allocations: 3 kB / 1.753 GB, free: 88.76 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.005472/4.512, allocations: 2.478 MB / 1.756 GB, free: 87.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/4.513, allocations: 3 kB / 1.756 GB, free: 87.69 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005871/4.513, allocations: 118 kB / 1.756 GB, free: 87.68 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004737/4.514, allocations: 201.6 kB / 1.756 GB, free: 87.61 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.602e-05/4.514, allocations: 17.94 kB / 1.756 GB, free: 87.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000971/4.515, allocations: 1.372 MB / 1.757 GB, free: 86.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/4.515, allocations: 3.156 kB / 1.757 GB, free: 86.42 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003146/4.518, allocations: 1.685 MB / 1.759 GB, free: 85.59 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007732/4.519, allocations: 336.6 kB / 1.759 GB, free: 85.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/4.519, allocations: 6.844 kB / 1.759 GB, free: 85.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000871/4.52, allocations: 75.97 kB / 1.759 GB, free: 85.34 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.994e-05/4.52, allocations: 56.84 kB / 1.759 GB, free: 85.33 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.677e-05/4.52, allocations: 36.44 kB / 1.759 GB, free: 85.33 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001294/4.521, allocations: 0.8723 MB / 1.76 GB, free: 84.95 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/4.521, allocations: 0 / 1.76 GB, free: 84.95 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003589/4.525, allocations: 0.9846 MB / 1.761 GB, free: 84.72 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.005739/4.531, allocations: 3.637 MB / 1.765 GB, free: 82.87 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003015/4.534, allocations: 1.592 MB / 1.766 GB, free: 82.24 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/4.534, allocations: 0 / 1.766 GB, free: 82.24 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000679/4.534, allocations: 419.1 kB / 1.767 GB, free: 82.11 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003643/4.538, allocations: 0.6434 MB / 1.767 GB, free: 81.98 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005609/4.544, allocations: 2.545 MB / 1.77 GB, free: 80.66 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008811/4.544, allocations: 1.404 MB / 1.771 GB, free: 79.49 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002265/4.547, allocations: 0.5495 MB / 1.772 GB, free: 79.14 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00073/4.547, allocations: 0.6534 MB / 1.772 GB, free: 78.55 MB / 0.6823 GB Notification: Performance of SimCode: time 1.192e-06/4.547, allocations: 0 / 1.772 GB, free: 78.55 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09558/4.643, allocations: 53.76 MB / 1.825 GB, free: 26.46 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001644/4.643, allocations: 160.4 kB / 1.825 GB, free: 26.26 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.234/8.878, allocations: 0 / 1.825 GB, free: 26.26 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpsSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpsSeries_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpsSeries.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1)