Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_trunk_cpp_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_trunk_cpp_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009496/0.0009496, allocations: 196.3 kB / 17.38 MB, free: 4.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.208/1.208, allocations: 226.5 MB / 244.7 MB, free: 8.109 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007342/0.0007341, allocations: 92 kB / 296.7 MB, free: 6.895 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002387/0.0002389, allocations: 7.938 kB / 356.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1944, allocations: 51.29 MB / 408.1 MB, free: 27.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.002378/0.1968, allocations: 3.25 MB / 411.4 MB, free: 24.33 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.1979, allocations: 0.9115 MB / 412.3 MB, free: 23.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001594/0.198, allocations: 4 kB / 412.3 MB, free: 23.42 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.1982, allocations: 91.36 kB / 412.4 MB, free: 23.33 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002687/0.1985, allocations: 166.6 kB / 412.6 MB, free: 23.17 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001711/0.1987, allocations: 95.89 kB / 412.6 MB, free: 23.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004317/0.1991, allocations: 0.661 MB / 413.3 MB, free: 22.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002246/0.1994, allocations: 184.8 kB / 413.5 MB, free: 22.22 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.1995, allocations: 235.1 kB / 413.7 MB, free: 21.99 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002024/0.1998, allocations: 270.8 kB / 414 MB, free: 21.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.717e-05/0.1998, allocations: 36 kB / 414 MB, free: 21.69 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.396e-05/0.1999, allocations: 36 kB / 414 MB, free: 21.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.619e-05/0.2, allocations: 103.6 kB / 414.2 MB, free: 21.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.2002, allocations: 300.4 kB / 414.4 MB, free: 21.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.2005, allocations: 0.5297 MB / 415 MB, free: 20.72 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2005, allocations: 0 / 415 MB, free: 20.72 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2005, allocations: 0 / 415 MB, free: 20.72 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.2005, allocations: 0 / 415 MB, free: 20.72 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001095/0.2016, allocations: 0.8392 MB / 415.8 MB, free: 19.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2016, allocations: 12.03 kB / 415.8 MB, free: 19.81 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.437e-05/0.2017, allocations: 75.72 kB / 415.9 MB, free: 19.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.154e-05/0.2018, allocations: 68.19 kB / 416 MB, free: 19.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004879/0.2023, allocations: 454.7 kB / 416.4 MB, free: 19.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001756/0.2025, allocations: 91.16 kB / 416.5 MB, free: 19.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.496e-05/0.2025, allocations: 32.38 kB / 416.5 MB, free: 19.05 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007339/0.2033, allocations: 0.5293 MB / 417.1 MB, free: 18.47 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.2033, allocations: 4 kB / 417.1 MB, free: 18.47 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.2033, allocations: 16 kB / 417.1 MB, free: 18.45 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.2034, allocations: 12 kB / 417.1 MB, free: 18.44 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008088/0.2042, allocations: 395.7 kB / 417.5 MB, free: 18.05 MB / 298.7 MB 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.001611/0.2058, allocations: 1.378 MB / 418.9 MB, free: 16.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007817/0.2066, allocations: 482.9 kB / 419.3 MB, free: 16.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004023/0.207, allocations: 220.8 kB / 419.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.376e-05/0.207, allocations: 7.984 kB / 419.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.529e-05/0.2071, allocations: 38.56 kB / 419.6 MB, free: 15.81 MB / 298.7 MB Notification: Performance of pre-optimization done (n=37): time 1.743e-06/0.2071, allocations: 0 / 419.6 MB, free: 15.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=37): time 0.001498/0.2086, allocations: 0.817 MB / 420.4 MB, free: 14.95 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.304e-05/0.2086, allocations: 448.9 kB / 420.8 MB, free: 14.4 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003617/0.209, allocations: 474 kB / 421.3 MB, free: 13.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/0.2091, allocations: 33.7 kB / 421.3 MB, free: 13.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.2092, allocations: 248.4 kB / 421.6 MB, free: 13.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.293e-05/0.2092, allocations: 126.1 kB / 421.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.947e-05/0.2093, allocations: 12 kB / 421.7 MB, free: 13.51 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.81e-05/0.2093, allocations: 358.8 kB / 422.1 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003808/0.2097, allocations: 167.9 kB / 422.2 MB, free: 12.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004399/0.2102, allocations: 310.3 kB / 422.5 MB, free: 12.63 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007467/0.2109, allocations: 402.6 kB / 422.9 MB, free: 12.22 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2109, allocations: 0 / 422.9 MB, free: 12.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009438/0.2119, allocations: 0.5313 MB / 423.5 MB, free: 11.67 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.2119, allocations: 29.7 kB / 423.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.2119, allocations: 4 kB / 423.5 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001586/0.2121, allocations: 53.62 kB / 423.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004045/0.2125, allocations: 103.9 kB / 423.6 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001553/0.2141, allocations: 2.736 MB / 426.4 MB, free: 8.465 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004551/0.2146, allocations: 71.78 kB / 426.5 MB, free: 8.395 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.2146, allocations: 12 kB / 426.5 MB, free: 8.383 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * 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 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001805/0.2148, allocations: 185.6 kB / 426.6 MB, free: 8.191 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.822e-05/0.2148, allocations: 55.34 kB / 426.7 MB, free: 8.137 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.237e-05/0.2149, allocations: 52.94 kB / 426.8 MB, free: 8.086 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.2149, allocations: 4 kB / 426.8 MB, free: 8.082 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.215, allocations: 0 / 426.8 MB, free: 8.082 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008505/0.2158, allocations: 0.7739 MB / 427.5 MB, free: 7.203 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.2172, allocations: 1.107 MB / 428.6 MB, free: 6.031 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2172, allocations: 0 / 428.6 MB, free: 6.031 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004343/0.2177, allocations: 111.8 kB / 428.7 MB, free: 5.922 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.2177, allocations: 4 kB / 428.7 MB, free: 5.918 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/0.2177, allocations: 4 kB / 428.8 MB, free: 5.914 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.2177, allocations: 7.938 kB / 428.8 MB, free: 5.906 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2177, allocations: 0 / 428.8 MB, free: 5.906 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.219, allocations: 0.741 MB / 429.5 MB, free: 5.145 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.2191, allocations: 168.5 kB / 429.7 MB, free: 4.961 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.967e-05/0.2192, allocations: 12 kB / 429.7 MB, free: 4.949 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003781/0.2196, allocations: 51.88 kB / 429.7 MB, free: 4.898 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.713e-05/0.2197, allocations: 23.95 kB / 429.8 MB, free: 4.875 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.2197, allocations: 12 kB / 429.8 MB, free: 4.863 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000267/0.22, allocations: 334.9 kB / 430.1 MB, free: 4.539 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.22, allocations: 0 / 430.1 MB, free: 4.539 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003888/0.2204, allocations: 139.8 kB / 430.2 MB, free: 4.402 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001438/0.2218, allocations: 1.29 MB / 431.5 MB, free: 3.086 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001083/0.2229, allocations: 0.6952 MB / 432.2 MB, free: 2.352 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.2229, allocations: 0 / 432.2 MB, free: 2.352 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003999/0.2233, allocations: 211.8 kB / 432.4 MB, free: 2.145 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006685/0.224, allocations: 141.8 kB / 432.6 MB, free: 2.008 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004556/0.2286, allocations: 3.151 MB / 435.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/0.229, allocations: 0.8392 MB / 436.5 MB, free: 13.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003019/0.2293, allocations: 187.4 kB / 436.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of SimCode: time 4.4e-07/0.2293, allocations: 0 / 436.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.314/3.544, allocations: 10.03 MB / 446.8 MB, free: 3.707 MB / 314.7 MB (rm -f Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","../files/Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches