Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.conf.json 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 184.5 kB / 8.525 MB, free: 1.84 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.187/1.187, allocations: 221.4 MB / 230.3 MB, free: 7.68 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008651/0.000865, allocations: 86.78 kB / 281.2 MB, free: 5.512 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1593/0.1593, allocations: 44.15 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1781/0.3374, allocations: 68.04 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09918/0.4366, allocations: 61.91 MB / 0.4942 GB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2938/0.7305, allocations: 121.6 MB / 0.6129 GB, free: 7.012 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/0.7308, allocations: 99.77 kB / 0.613 GB, free: 6.918 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.14/0.8708, allocations: 47.26 MB / 0.6592 GB, free: 7.309 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.8708, allocations: 11.94 kB / 0.6592 GB, free: 7.297 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002401/0.8711, allocations: 102.7 kB / 0.6593 GB, free: 7.195 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000723/0.8718, allocations: 462.9 kB / 0.6597 GB, free: 6.707 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.954e-05/0.8719, allocations: 28 kB / 0.6598 GB, free: 6.68 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.872, allocations: 48 kB / 0.6598 GB, free: 6.633 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001936/0.8739, allocations: 1.421 MB / 0.6612 GB, free: 5.211 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/0.8757, allocations: 1.334 MB / 0.6625 GB, free: 3.816 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.8758, allocations: 0 / 0.6625 GB, free: 3.816 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-05/0.8758, allocations: 7.906 kB / 0.6625 GB, free: 3.809 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-05/0.8759, allocations: 77.89 kB / 0.6626 GB, free: 3.73 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004319/0.8802, allocations: 3.615 MB / 0.6661 GB, free: 0 / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009213/0.8812, allocations: 0.7845 MB / 0.6669 GB, free: 15.05 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005324/0.8817, allocations: 405.6 kB / 0.6673 GB, free: 14.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.732e-05/0.8818, allocations: 24.11 kB / 0.6673 GB, free: 14.58 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.293e-05/0.8819, allocations: 59.11 kB / 0.6673 GB, free: 14.51 MB / 490.7 MB Notification: Performance of pre-optimization done (n=38): time 3.466e-06/0.8819, allocations: 0 / 0.6673 GB, free: 14.51 MB / 490.7 MB Notification: Performance of matching and sorting (n=38): time 0.001567/0.8834, allocations: 0.7141 MB / 0.668 GB, free: 13.79 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002076/0.8837, allocations: 0.4925 MB / 0.6685 GB, free: 13.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000762/0.8844, allocations: 0.6747 MB / 0.6692 GB, free: 12.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.057e-05/0.8845, allocations: 29.7 kB / 0.6692 GB, free: 12.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002805/0.8848, allocations: 485 kB / 0.6697 GB, free: 11.98 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.8849, allocations: 146.2 kB / 0.6698 GB, free: 11.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.853e-05/0.885, allocations: 0 / 0.6698 GB, free: 11.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.8852, allocations: 382.8 kB / 0.6702 GB, free: 11.45 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005988/0.8858, allocations: 426.3 kB / 0.6706 GB, free: 11.04 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.8868, allocations: 1.069 MB / 0.6716 GB, free: 9.637 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007935/0.8876, allocations: 0.569 MB / 0.6722 GB, free: 9.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.409e-05/0.8876, allocations: 8 kB / 0.6722 GB, free: 9.062 MB / 490.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002134/0.8898, allocations: 1.333 MB / 0.6735 GB, free: 7.723 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.8898, allocations: 6.344 kB / 0.6735 GB, free: 7.719 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.708e-05/0.8898, allocations: 24 kB / 0.6735 GB, free: 7.695 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.02e-05/0.8899, allocations: 36.81 kB / 0.6736 GB, free: 7.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/0.8912, allocations: 367.3 kB / 0.6739 GB, free: 7.301 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.399e-05/0.8913, allocations: 43.86 kB / 0.6739 GB, free: 7.258 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.8926, allocations: 235.1 kB / 0.6742 GB, free: 7.027 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/0.8927, allocations: 75.98 kB / 0.6742 GB, free: 6.953 MB / 490.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.0002298/0.8929, allocations: 204.2 kB / 0.6744 GB, free: 6.754 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004452/0.8934, allocations: 71.16 kB / 0.6745 GB, free: 6.684 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.8946, allocations: 0.5568 MB / 0.6751 GB, free: 6.109 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.8947, allocations: 8 kB / 0.6751 GB, free: 6.102 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.8947, allocations: 7.906 kB / 0.6751 GB, free: 6.094 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.8947, allocations: 4 kB / 0.6751 GB, free: 6.09 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/0.8962, allocations: 0.6068 MB / 0.6757 GB, free: 5.445 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.8962, allocations: 4 kB / 0.6757 GB, free: 5.441 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009734/0.8971, allocations: 247.7 kB / 0.6759 GB, free: 5.199 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/0.8972, allocations: 11.91 kB / 0.6759 GB, free: 5.188 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.186e-05/0.8972, allocations: 15.98 kB / 0.6759 GB, free: 5.172 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.437e-05/0.8972, allocations: 11.94 kB / 0.6759 GB, free: 5.16 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.8973, allocations: 4 kB / 0.6759 GB, free: 5.156 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001579/0.8988, allocations: 2.264 MB / 0.6782 GB, free: 2.758 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001777/0.9006, allocations: 2.655 MB / 0.6807 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.9008, allocations: 148.2 kB / 0.6809 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.9009, allocations: 11.94 kB / 0.6809 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/0.9023, allocations: 163.8 kB / 0.6811 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002737/0.9026, allocations: 111.8 kB / 0.6812 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.924e-05/0.9027, allocations: 23.98 kB / 0.6812 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0005076/0.9032, allocations: 475 kB / 0.6816 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002876/0.9061, allocations: 0.53 MB / 0.6822 GB, free: 14.5 MB / 0.4948 GB 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.001053/0.9071, allocations: 0.5739 MB / 0.6827 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001379/0.9085, allocations: 0.9652 MB / 0.6837 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.9085, allocations: 3.938 kB / 0.6837 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00115/0.9097, allocations: 0.7968 MB / 0.6844 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.9108, allocations: 91 kB / 0.6845 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/0.9134, allocations: 1.369 MB / 0.6859 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001112/0.9145, allocations: 1.233 MB / 0.6871 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of SimCode: time 2.71e-07/0.9145, allocations: 0 / 0.6871 GB, free: 9.355 MB / 0.4948 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_twoPhaseOverall_DP_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_twoPhaseOverall_DP.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP_res.mat does not exist to compare? outputFormat=mat