Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_twoPhaseOverall_DP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_twoPhaseOverall_DP",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001156/0.001156, allocations: 198.6 kB / 8.539 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.229/1.229, allocations: 225.5 MB / 234.4 MB, free: 3.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008688/0.0008689, allocations: 96.03 kB / 286.3 MB, free: 5.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1747/0.1747, allocations: 45.14 MB / 383.3 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2216/0.3963, allocations: 69.39 MB / 452.7 MB, free: 76.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09353/0.4899, allocations: 63.24 MB / 0.5039 GB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3163/0.8063, allocations: 122.7 MB / 0.6237 GB, free: 12.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.8065, allocations: 97.08 kB / 0.6238 GB, free: 12.25 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.1374/0.944, allocations: 46.76 MB / 0.6694 GB, free: 4.609 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.9441, allocations: 12 kB / 0.6694 GB, free: 4.598 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002135/0.9462, allocations: 402 kB / 0.6698 GB, free: 4.207 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008077/0.947, allocations: 460.6 kB / 0.6703 GB, free: 3.75 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.508e-05/0.9471, allocations: 28 kB / 0.6703 GB, free: 3.723 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.9472, allocations: 44 kB / 0.6703 GB, free: 3.68 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001849/0.9491, allocations: 1.429 MB / 0.6717 GB, free: 2.652 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/0.9509, allocations: 1.329 MB / 0.673 GB, free: 1.555 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.9509, allocations: 0 / 0.673 GB, free: 1.555 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-05/0.951, allocations: 4 kB / 0.673 GB, free: 1.551 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.643e-05/0.9511, allocations: 73.27 kB / 0.6731 GB, free: 1.48 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004144/0.9552, allocations: 3.621 MB / 0.6766 GB, free: 14.17 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009405/0.9562, allocations: 0.7957 MB / 0.6774 GB, free: 13.32 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004866/0.9567, allocations: 404.8 kB / 0.6778 GB, free: 12.93 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.097e-05/0.9567, allocations: 15.5 kB / 0.6778 GB, free: 12.92 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.9568, allocations: 61.67 kB / 0.6779 GB, free: 12.86 MB / 474.7 MB Notification: Performance of pre-optimization done (n=38): time 9.628e-06/0.9568, allocations: 0 / 0.6779 GB, free: 12.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=38): time 0.001506/0.9583, allocations: 0.7171 MB / 0.6786 GB, free: 12.24 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001878/0.9585, allocations: 0.4958 MB / 0.679 GB, free: 11.63 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007336/0.9593, allocations: 0.6648 MB / 0.6797 GB, free: 11.05 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.443e-05/0.9593, allocations: 26.02 kB / 0.6797 GB, free: 11.02 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002939/0.9596, allocations: 493 kB / 0.6802 GB, free: 10.52 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.9598, allocations: 146.1 kB / 0.6803 GB, free: 10.38 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/0.9598, allocations: 0 / 0.6803 GB, free: 10.38 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.96, allocations: 378.8 kB / 0.6807 GB, free: 9.996 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006049/0.9606, allocations: 430.2 kB / 0.6811 GB, free: 9.57 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.9616, allocations: 1.069 MB / 0.6821 GB, free: 8.168 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007906/0.9624, allocations: 0.5597 MB / 0.6827 GB, free: 7.609 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.831e-05/0.9625, allocations: 8 kB / 0.6827 GB, free: 7.602 MB / 474.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002196/0.9647, allocations: 1.337 MB / 0.684 GB, free: 6.258 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.9647, allocations: 7.281 kB / 0.684 GB, free: 6.254 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.588e-05/0.9647, allocations: 24 kB / 0.684 GB, free: 6.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.077e-05/0.9648, allocations: 40.03 kB / 0.6841 GB, free: 6.191 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/0.9662, allocations: 367.3 kB / 0.6844 GB, free: 5.832 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.9e-05/0.9662, allocations: 43.86 kB / 0.6845 GB, free: 5.789 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.9675, allocations: 239.1 kB / 0.6847 GB, free: 5.555 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.9676, allocations: 71.98 kB / 0.6848 GB, free: 5.484 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 50 (IN_con_2[5].geodeticPressureLoss,IN_con_2[5].massFlowRateCorrection,IN_con_2[5].momentumPressureLoss,IN_con_2[5].voidFractionApproach,IN_con_2[5].frictionalPressureLoss,IN_con_2[4].geodeticPressureLoss,IN_con_2[4].massFlowRateCorrection,IN_con_2[4].momentumPressureLoss,IN_con_2[4].voidFractionApproach,IN_con_2[4].frictionalPressureLoss,IN_con_2[3].geodeticPressureLoss,IN_con_2[3].massFlowRateCorrection,IN_con_2[3].momentumPressureLoss,IN_con_2[3].voidFractionApproach,IN_con_2[3].frictionalPressureLoss,IN_con_2[2].geodeticPressureLoss,IN_con_2[2].massFlowRateCorrection,IN_con_2[2].momentumPressureLoss,IN_con_2[2].voidFractionApproach,IN_con_2[2].frictionalPressureLoss,IN_con_2[1].geodeticPressureLoss,IN_con_2[1].massFlowRateCorrection,IN_con_2[1].momentumPressureLoss,IN_con_2[1].voidFractionApproach,IN_con_2[1].frictionalPressureLoss,IN_con_1[5].geodeticPressureLoss,IN_con_1[5].massFlowRateCorrection,IN_con_1[5].momentumPressureLoss,IN_con_1[5].voidFractionApproach,IN_con_1[5].frictionalPressureLoss,IN_con_1[4].geodeticPressureLoss,IN_con_1[4].massFlowRateCorrection,IN_con_1[4].momentumPressureLoss,IN_con_1[4].voidFractionApproach,IN_con_1[4].frictionalPressureLoss,IN_con_1[3].geodeticPressureLoss,IN_con_1[3].massFlowRateCorrection,IN_con_1[3].momentumPressureLoss,IN_con_1[3].voidFractionApproach,IN_con_1[3].frictionalPressureLoss,IN_con_1[2].geodeticPressureLoss,IN_con_1[2].massFlowRateCorrection,IN_con_1[2].momentumPressureLoss,IN_con_1[2].voidFractionApproach,IN_con_1[2].frictionalPressureLoss,IN_con_1[1].geodeticPressureLoss,IN_con_1[1].massFlowRateCorrection,IN_con_1[1].momentumPressureLoss,IN_con_1[1].voidFractionApproach,IN_con_1[1].frictionalPressureLoss) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 134 * 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 prepare postOptimizeDAE: time 0.0002141/0.9678, allocations: 208.2 kB / 0.685 GB, free: 5.281 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004335/0.9683, allocations: 75.16 kB / 0.685 GB, free: 5.207 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.9695, allocations: 0.5521 MB / 0.6856 GB, free: 4.645 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/0.9695, allocations: 11.91 kB / 0.6856 GB, free: 4.633 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.9695, allocations: 4 kB / 0.6856 GB, free: 4.629 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.9695, allocations: 8 kB / 0.6856 GB, free: 4.621 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/0.971, allocations: 0.5952 MB / 0.6862 GB, free: 3.988 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.971, allocations: 11.84 kB / 0.6862 GB, free: 3.977 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009871/0.972, allocations: 239.7 kB / 0.6864 GB, free: 3.742 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.518e-05/0.972, allocations: 7.984 kB / 0.6864 GB, free: 3.734 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.485e-05/0.9721, allocations: 23.98 kB / 0.6864 GB, free: 3.711 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.9721, allocations: 4 kB / 0.6865 GB, free: 3.707 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.9721, allocations: 11.94 kB / 0.6865 GB, free: 3.695 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00195/0.9741, allocations: 2.256 MB / 0.6887 GB, free: 1.305 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001907/0.976, allocations: 2.659 MB / 0.6913 GB, free: 14.51 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/0.9762, allocations: 152.1 kB / 0.6914 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/0.9763, allocations: 4 kB / 0.6914 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/0.9778, allocations: 163.8 kB / 0.6916 GB, free: 14.18 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002906/0.9781, allocations: 123.7 kB / 0.6917 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-05/0.9782, allocations: 19.98 kB / 0.6917 GB, free: 14.04 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005194/0.9787, allocations: 471 kB / 0.6922 GB, free: 13.57 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0032/0.9819, allocations: 0.5651 MB / 0.6927 GB, free: 13 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.001836/0.9838, allocations: 0.6033 MB / 0.6933 GB, free: 12.39 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001375/0.9851, allocations: 0.9689 MB / 0.6942 GB, free: 11.42 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.9852, allocations: 0 / 0.6942 GB, free: 11.42 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001165/0.9863, allocations: 0.7857 MB / 0.695 GB, free: 10.64 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.9874, allocations: 91.02 kB / 0.6951 GB, free: 10.55 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/0.9901, allocations: 1.373 MB / 0.6964 GB, free: 9.098 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001154/0.9912, allocations: 1.229 MB / 0.6976 GB, free: 7.84 MB / 490.7 MB Notification: Performance of SimCode: time 1.453e-06/0.9912, allocations: 3.938 kB / 0.6976 GB, free: 7.836 MB / 490.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_twoPhaseOverall_DP_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_twoPhaseOverall_DP.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP_res.mat does not exist to compare? outputFormat=mat