Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001122/0.001122, allocations: 193.1 kB / 7.805 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205.2 MB / 213.4 MB, free: 13.91 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.0009483/0.0009484, allocations: 89.84 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2255/0.2255, allocations: 43.49 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2293/0.4548, allocations: 64.99 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.7937, allocations: 58.84 MB / 476.7 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1742/0.968, allocations: 120.4 MB / 0.583 GB, free: 10.46 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/0.9683, allocations: 99.42 kB / 0.5831 GB, free: 10.37 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.1499/1.118, allocations: 46.43 MB / 0.6285 GB, free: 11.58 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/1.118, allocations: 8 kB / 0.6285 GB, free: 11.57 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002829/1.119, allocations: 102.7 kB / 0.6286 GB, free: 11.47 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008129/1.119, allocations: 462.9 kB / 0.629 GB, free: 10.98 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.336e-05/1.119, allocations: 28 kB / 0.6291 GB, free: 10.95 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/1.12, allocations: 48 kB / 0.6291 GB, free: 10.9 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001913/1.122, allocations: 1.421 MB / 0.6305 GB, free: 9.48 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/1.123, allocations: 1.334 MB / 0.6318 GB, free: 8.082 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/1.123, allocations: 3.938 kB / 0.6318 GB, free: 8.078 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.189e-05/1.124, allocations: 4 kB / 0.6318 GB, free: 8.074 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.585e-05/1.124, allocations: 73.95 kB / 0.6319 GB, free: 8 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004655/1.128, allocations: 3.626 MB / 0.6354 GB, free: 4.258 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/1.129, allocations: 0.7845 MB / 0.6362 GB, free: 3.309 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005211/1.13, allocations: 405.5 kB / 0.6366 GB, free: 2.859 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.17e-05/1.13, allocations: 24.16 kB / 0.6366 GB, free: 2.836 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.97e-05/1.13, allocations: 59.06 kB / 0.6366 GB, free: 2.766 MB / 474.7 MB Notification: Performance of pre-optimization done (n=38): time 3.557e-06/1.13, allocations: 3.938 kB / 0.6367 GB, free: 2.762 MB / 474.7 MB Notification: Performance of matching and sorting (n=38): time 0.001679/1.132, allocations: 0.7191 MB / 0.6374 GB, free: 2.039 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002777/1.132, allocations: 0.4925 MB / 0.6378 GB, free: 1.43 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008319/1.133, allocations: 0.6631 MB / 0.6385 GB, free: 0.7656 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.926e-05/1.133, allocations: 29.7 kB / 0.6385 GB, free: 0.7305 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003619/1.133, allocations: 493.1 kB / 0.639 GB, free: 244 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/1.134, allocations: 142.1 kB / 0.6391 GB, free: 100 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.882e-05/1.134, allocations: 0 / 0.6391 GB, free: 100 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.1838/1.317, allocations: 385.5 kB / 0.6395 GB, free: 188.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008328/1.318, allocations: 421.8 kB / 0.6399 GB, free: 188.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000876/1.319, allocations: 1.069 MB / 0.6409 GB, free: 187.6 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00069/1.32, allocations: 0.5611 MB / 0.6415 GB, free: 187.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.335e-05/1.32, allocations: 8 kB / 0.6415 GB, free: 187.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.001957/1.322, allocations: 1.333 MB / 0.6428 GB, free: 187.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/1.322, allocations: 7.031 kB / 0.6428 GB, free: 187.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.718e-05/1.322, allocations: 22.03 kB / 0.6428 GB, free: 187.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.153e-05/1.322, allocations: 39.12 kB / 0.6429 GB, free: 187.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/1.323, allocations: 365.9 kB / 0.6432 GB, free: 187.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.9e-05/1.323, allocations: 51.16 kB / 0.6433 GB, free: 187.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/1.325, allocations: 237.6 kB / 0.6435 GB, free: 187.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/1.325, allocations: 77.64 kB / 0.6436 GB, free: 187.6 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.0002659/1.325, allocations: 198 kB / 0.6437 GB, free: 187.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004858/1.326, allocations: 74.47 kB / 0.6438 GB, free: 187.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/1.327, allocations: 0.5514 MB / 0.6444 GB, free: 187.4 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/1.327, allocations: 7.125 kB / 0.6444 GB, free: 187.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/1.327, allocations: 3.969 kB / 0.6444 GB, free: 187.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/1.327, allocations: 6.734 kB / 0.6444 GB, free: 187.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/1.328, allocations: 0.606 MB / 0.645 GB, free: 187.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/1.328, allocations: 3.625 kB / 0.645 GB, free: 187.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009123/1.329, allocations: 244.4 kB / 0.6452 GB, free: 187.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.115e-05/1.329, allocations: 7.688 kB / 0.6452 GB, free: 187.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-05/1.329, allocations: 21.28 kB / 0.6452 GB, free: 187.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/1.329, allocations: 13.44 kB / 0.6452 GB, free: 187.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/1.329, allocations: 3.906 kB / 0.6452 GB, free: 187.3 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001473/1.331, allocations: 2.27 MB / 0.6475 GB, free: 185.6 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001543/1.332, allocations: 2.653 MB / 0.65 GB, free: 183.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/1.333, allocations: 149.9 kB / 0.6502 GB, free: 183.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/1.333, allocations: 6.25 kB / 0.6502 GB, free: 183.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/1.334, allocations: 165.7 kB / 0.6504 GB, free: 183.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002758/1.334, allocations: 108.9 kB / 0.6505 GB, free: 183.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.994e-05/1.334, allocations: 29.47 kB / 0.6505 GB, free: 183.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0004954/1.335, allocations: 473.5 kB / 0.6509 GB, free: 183.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003103/1.338, allocations: 0.5383 MB / 0.6515 GB, free: 183.3 MB / 474.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.0011/1.339, allocations: 0.5693 MB / 0.652 GB, free: 183.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001238/1.34, allocations: 0.9587 MB / 0.653 GB, free: 183.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.34, allocations: 0 / 0.653 GB, free: 183.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009771/1.341, allocations: 0.7989 MB / 0.6537 GB, free: 183.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/1.343, allocations: 89.39 kB / 0.6538 GB, free: 183.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/1.345, allocations: 1.371 MB / 0.6552 GB, free: 182.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009432/1.346, allocations: 1.24 MB / 0.6564 GB, free: 182 MB / 474.7 MB Notification: Performance of SimCode: time 4.71e-07/1.346, allocations: 0 / 0.6564 GB, free: 182 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_twoPhaseOverall_DP_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_twoPhaseOverall_DP.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP_res.mat does not exist to compare? outputFormat=mat