Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002271/0.002275, allocations: 187.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.118/2.118, allocations: 205.4 MB / 222.5 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001147/0.001147, allocations: 86.88 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003961/0.0003961, allocations: 15.98 kB / 327.1 MB, free: 14.99 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09766/0.0981, allocations: 47.58 MB / 374.6 MB, free: 15.33 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.007019/0.1052, allocations: 4.12 MB / 378.8 MB, free: 11.19 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003483/0.1087, allocations: 1.314 MB / 380.1 MB, free: 9.863 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000616/0.1094, allocations: 11.94 kB / 380.1 MB, free: 9.852 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004241/0.1098, allocations: 103.2 kB / 380.2 MB, free: 9.75 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00118/0.111, allocations: 366.9 kB / 380.5 MB, free: 9.391 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006598/0.1117, allocations: 175.7 kB / 380.7 MB, free: 9.219 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001985/0.1137, allocations: 0.8241 MB / 381.5 MB, free: 8.391 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006329/0.1144, allocations: 292.8 kB / 381.8 MB, free: 8.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000735/0.1151, allocations: 386.7 kB / 382.2 MB, free: 7.711 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008008/0.1159, allocations: 462.1 kB / 382.7 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002029/0.1162, allocations: 60 kB / 382.7 MB, free: 7.199 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002603/0.1164, allocations: 64 kB / 382.8 MB, free: 7.137 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002291/0.1167, allocations: 175.3 kB / 382.9 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003192/0.117, allocations: 209.2 kB / 383.1 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.1184, allocations: 0.8685 MB / 384 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.1184, allocations: 0 / 384 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1184, allocations: 0 / 384 MB, free: 5.883 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.797e-05/0.1184, allocations: 0 / 384 MB, free: 5.883 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.003596/0.122, allocations: 1.243 MB / 385.3 MB, free: 4.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.1221, allocations: 8.031 kB / 385.3 MB, free: 4.562 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000355/0.1225, allocations: 119.7 kB / 385.4 MB, free: 4.438 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003128/0.1228, allocations: 118.7 kB / 385.5 MB, free: 4.32 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.1242, allocations: 0.5472 MB / 386 MB, free: 3.727 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005129/0.1248, allocations: 178.4 kB / 386.2 MB, free: 3.535 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001768/0.125, allocations: 64 kB / 386.3 MB, free: 3.473 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002728/0.1277, allocations: 0.9173 MB / 387.2 MB, free: 2.453 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.435e-05/0.1278, allocations: 0 / 387.2 MB, free: 2.453 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001338/0.1279, allocations: 32 kB / 387.2 MB, free: 2.422 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/0.128, allocations: 19.94 kB / 387.3 MB, free: 2.402 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002926/0.1309, allocations: 0.6961 MB / 387.9 MB, free: 1.703 MB / 282.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.2563/0.3873, allocations: 2.165 MB / 390.1 MB, free: 19.64 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003349/0.3907, allocations: 1.073 MB / 391.2 MB, free: 19.33 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/0.3908, allocations: 17.77 kB / 391.2 MB, free: 19.33 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.3909, allocations: 49.47 kB / 391.3 MB, free: 19.29 MB / 282.7 MB Notification: Performance of pre-optimization done (n=77): time 3.877e-06/0.3909, allocations: 3.906 kB / 391.3 MB, free: 19.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=77): time 0.009602/0.4005, allocations: 2.026 MB / 393.3 MB, free: 18.7 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002079/0.4008, allocations: 0.8231 MB / 394.1 MB, free: 17.69 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.4019, allocations: 0.6118 MB / 394.7 MB, free: 17.42 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001979/0.4021, allocations: 45.47 kB / 394.8 MB, free: 17.38 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002777/0.4024, allocations: 368.6 kB / 395.1 MB, free: 17.09 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002708/0.4027, allocations: 265.9 kB / 395.4 MB, free: 16.92 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-05/0.4028, allocations: 20.31 kB / 395.4 MB, free: 16.91 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.499e-05/0.4029, allocations: 337.5 kB / 395.7 MB, free: 16.58 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/0.4042, allocations: 308 kB / 396 MB, free: 16.49 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001628/0.4058, allocations: 0.59 MB / 396.6 MB, free: 16.07 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/0.4073, allocations: 439.8 kB / 397.1 MB, free: 15.84 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.4073, allocations: 1.062 kB / 397.1 MB, free: 15.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.004835/0.4121, allocations: 1.17 MB / 398.2 MB, free: 15.36 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.622e-05/0.4123, allocations: 85.95 kB / 398.3 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.4123, allocations: 0.9688 kB / 398.3 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/0.4134, allocations: 253.3 kB / 398.6 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/0.4148, allocations: 158.6 kB / 398.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01084/0.4256, allocations: 6.585 MB / 405.3 MB, free: 9.332 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/0.4274, allocations: 126.3 kB / 405.4 MB, free: 9.285 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.204e-05/0.4275, allocations: 27.3 kB / 405.4 MB, free: 9.277 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (73): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 3,1 1,3 3,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005009/0.428, allocations: 223.4 kB / 405.7 MB, free: 9.098 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002358/0.4283, allocations: 90.25 kB / 405.7 MB, free: 9.055 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002448/0.4285, allocations: 98.39 kB / 405.8 MB, free: 8.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/0.4286, allocations: 7.5 kB / 405.9 MB, free: 8.98 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-05/0.4286, allocations: 2.469 kB / 405.9 MB, free: 8.98 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004525/0.4331, allocations: 1.369 MB / 407.2 MB, free: 8.16 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006871/0.44, allocations: 2.045 MB / 409.3 MB, free: 7.242 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.585e-06/0.4401, allocations: 0 / 409.3 MB, free: 7.242 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001425/0.4415, allocations: 162.7 kB / 409.4 MB, free: 7.227 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009573/0.4425, allocations: 211.2 kB / 409.6 MB, free: 7.16 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-05/0.4426, allocations: 22.52 kB / 409.7 MB, free: 7.145 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009251/0.4519, allocations: 5.128 MB / 414.8 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.4519, allocations: 3.938 kB / 414.8 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006018/0.4579, allocations: 1.578 MB / 416.4 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000598/0.4586, allocations: 241.8 kB / 416.6 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/0.4588, allocations: 19.22 kB / 416.6 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/0.4601, allocations: 71.78 kB / 416.7 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002851/0.4604, allocations: 67.23 kB / 416.8 MB, free: 1.625 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.63e-05/0.4605, allocations: 16.91 kB / 416.8 MB, free: 1.621 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007475/0.4612, allocations: 436.1 kB / 417.2 MB, free: 1.371 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.4613, allocations: 0 / 417.2 MB, free: 1.371 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001342/0.4626, allocations: 294.4 kB / 417.5 MB, free: 1.324 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (65): * Single equations (assignments): 62 * 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: 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 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.005973/0.4686, allocations: 2.142 MB / 419.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003797/0.4724, allocations: 1.43 MB / 421.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.4725, allocations: 0 / 421.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002545/0.475, allocations: 0.831 MB / 421.9 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.4766, allocations: 211.5 kB / 422.1 MB, free: 14.06 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005925/0.4825, allocations: 2.847 MB / 424.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007442/0.4833, allocations: 0.9709 MB / 425.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007916/0.4841, allocations: 315.3 kB / 426.2 MB, free: 9.848 MB / 298.7 MB Notification: Performance of SimCode: time 1.603e-06/0.4841, allocations: 3.938 kB / 426.2 MB, free: 9.844 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.332/3.816, allocations: 25.12 MB / 451.3 MB, free: 0.6641 MB / 314.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut.fmu > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat does not exist to compare? outputFormat=mat