Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_stratos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Validation.Pump_stratos,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_Pump_stratos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Validation.Pump_stratos,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_Pump_stratos",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.064/1.064, allocations: 141.8 MB / 149.3 MB, free: 9.215 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.001159, allocations: 184.8 kB / 182.2 MB, free: 9.445 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 221.5 MB / 436.4 MB, free: 13.28 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.0008786/0.0008786, allocations: 92.03 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00194/0.00194, allocations: 283.5 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.167e-05/2.175e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4736/0.4736, allocations: 82.77 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.711/5.185, allocations: 2.15 GB / 2.907 GB, free: 190.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/5.185, allocations: 92.7 kB / 2.907 GB, free: 190.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.09/8.275, allocations: 0.8781 GB / 3.786 GB, free: 77.04 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.865e-06/8.275, allocations: 0 / 3.786 GB, free: 77.04 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004277/8.275, allocations: 60 kB / 3.786 GB, free: 77.04 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.007414/8.283, allocations: 2.535 MB / 3.788 GB, free: 75.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.79e-05/8.283, allocations: 9.438 kB / 3.788 GB, free: 75.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003654/8.287, allocations: 0.538 MB / 3.789 GB, free: 75.31 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03702/8.324, allocations: 17.67 MB / 3.806 GB, free: 68.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.087e-05/8.324, allocations: 40.09 kB / 3.806 GB, free: 68.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000252/8.324, allocations: 84.91 kB / 3.806 GB, free: 68.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001945/8.326, allocations: 1.222 MB / 3.807 GB, free: 67.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/8.328, allocations: 1.364 MB / 3.808 GB, free: 66.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.922e-05/8.328, allocations: 0 / 3.808 GB, free: 66.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/8.328, allocations: 3.984 kB / 3.808 GB, free: 66.93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.988e-05/8.328, allocations: 31.38 kB / 3.809 GB, free: 66.93 MB / 0.698 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.01131/8.339, allocations: 8.154 MB / 3.816 GB, free: 60.11 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/8.341, allocations: 1.22 MB / 3.818 GB, free: 59.49 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007829/8.342, allocations: 0.6433 MB / 3.818 GB, free: 59.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004706/8.347, allocations: 3.06 MB / 3.821 GB, free: 56.63 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/8.347, allocations: 38.28 kB / 3.821 GB, free: 56.59 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009972/8.348, allocations: 92.83 kB / 3.821 GB, free: 56.53 MB / 0.698 GB Notification: Performance of pre-optimization done (n=61): time 2.645e-06/8.348, allocations: 0 / 3.821 GB, free: 56.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=61): time 0.003379/8.351, allocations: 1.704 MB / 3.823 GB, free: 55.61 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/8.351, allocations: 59.97 kB / 3.823 GB, free: 55.54 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004366/8.356, allocations: 2.729 MB / 3.826 GB, free: 52.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002815/8.356, allocations: 33.7 kB / 3.826 GB, free: 52.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000862/8.357, allocations: 1.222 MB / 3.827 GB, free: 51.54 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002384/8.357, allocations: 204.9 kB / 3.827 GB, free: 51.33 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.687e-05/8.357, allocations: 0 / 3.827 GB, free: 51.33 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.24e-05/8.357, allocations: 353.9 kB / 3.828 GB, free: 50.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00078/8.358, allocations: 0.5844 MB / 3.828 GB, free: 50.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/8.359, allocations: 1.146 MB / 3.829 GB, free: 48.98 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001806/8.361, allocations: 0.8027 MB / 3.83 GB, free: 48.18 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/8.361, allocations: 8 kB / 3.83 GB, free: 48.17 MB / 0.698 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003886/8.365, allocations: 2.143 MB / 3.832 GB, free: 46.01 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001315/8.366, allocations: 6.189 MB / 3.838 GB, free: 39.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-05/8.366, allocations: 12 kB / 3.838 GB, free: 39.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/8.367, allocations: 471.5 kB / 3.839 GB, free: 38.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008672/8.368, allocations: 239.6 kB / 3.839 GB, free: 38.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001829/8.37, allocations: 2.526 MB / 3.841 GB, free: 36.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002085/8.372, allocations: 111.9 kB / 3.841 GB, free: 35.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001755/8.372, allocations: 116 kB / 3.842 GB, free: 35.84 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/8.372, allocations: 4 kB / 3.842 GB, free: 35.83 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003267/8.376, allocations: 1.675 MB / 3.843 GB, free: 34.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/8.376, allocations: 19.98 kB / 3.843 GB, free: 34.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/8.377, allocations: 0.5503 MB / 3.844 GB, free: 33.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007188/8.378, allocations: 227.6 kB / 3.844 GB, free: 33.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009342/8.387, allocations: 7.723 MB / 3.852 GB, free: 25.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00215/8.389, allocations: 95.88 kB / 3.852 GB, free: 25.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001762/8.389, allocations: 103.9 kB / 3.852 GB, free: 25.17 MB / 0.698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.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: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 106 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004269/8.39, allocations: 144.5 kB / 3.852 GB, free: 25.02 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002845/8.393, allocations: 1.266 MB / 3.853 GB, free: 23.73 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003012/8.393, allocations: 240.8 kB / 3.853 GB, free: 23.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00309/8.396, allocations: 1.529 MB / 3.855 GB, free: 21.98 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/8.396, allocations: 11.47 kB / 3.855 GB, free: 21.97 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/8.396, allocations: 3.984 kB / 3.855 GB, free: 21.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001795/8.398, allocations: 1.315 MB / 3.856 GB, free: 20.58 MB / 0.698 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.006343/8.404, allocations: 3.604 MB / 3.86 GB, free: 16.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/8.404, allocations: 0 / 3.86 GB, free: 16.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005723/8.405, allocations: 123.8 kB / 3.86 GB, free: 16.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004493/8.405, allocations: 223.8 kB / 3.86 GB, free: 16.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.401e-05/8.405, allocations: 19.72 kB / 3.86 GB, free: 16.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001229/8.407, allocations: 1.98 MB / 3.862 GB, free: 14.47 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/8.407, allocations: 4.188 kB / 3.862 GB, free: 14.46 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003449/8.41, allocations: 2.039 MB / 3.864 GB, free: 12.38 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/8.411, allocations: 0.5524 MB / 3.864 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003156/8.412, allocations: 0 / 3.864 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/8.413, allocations: 103.8 kB / 3.865 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/8.413, allocations: 52.67 kB / 3.865 GB, free: 11.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.939e-05/8.413, allocations: 43.97 kB / 3.865 GB, free: 11.61 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002782/8.416, allocations: 2.059 MB / 3.867 GB, free: 9.551 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.81e-07/8.416, allocations: 0 / 3.867 GB, free: 9.551 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004907/8.421, allocations: 1.324 MB / 3.868 GB, free: 8.227 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (floMacDyn.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 7,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0056/8.426, allocations: 3.868 MB / 3.872 GB, free: 4.465 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003424/8.43, allocations: 2.413 MB / 3.874 GB, free: 2.035 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/8.43, allocations: 0 / 3.874 GB, free: 2.035 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006756/8.43, allocations: 467.8 kB / 3.875 GB, free: 1.578 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005516/8.436, allocations: 1.21 MB / 3.876 GB, free: 460 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008744/8.445, allocations: 3.84 MB / 3.879 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00167/8.446, allocations: 1.848 MB / 3.881 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.005022/8.452, allocations: 1.205 MB / 3.882 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00142/8.453, allocations: 0.9989 MB / 3.883 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of SimCode: time 1.052e-06/8.453, allocations: 0 / 3.883 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6029/9.056, allocations: 84.74 MB / 3.966 GB, free: 101.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001483/9.056, allocations: 180.4 kB / 3.966 GB, free: 101 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.85/13.91, allocations: 0.5625 kB / 3.966 GB, free: 101 MB / 0.7292 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_stratos.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_stratos.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_stratos.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_stratos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_Validation_Pump_stratos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_Validation_Pump_stratos.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_stratos.pipe 2>&1)