Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 104.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.04378/0.04378, allocations: 8.535 MB / 311.2 MB, free: 2.148 MB / 238.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 75.88 kB / 433.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2576, allocations: 54.19 MB / 487.4 MB, free: 25.61 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.004637/0.2623, allocations: 3.86 MB / 491.3 MB, free: 22.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002363/0.2646, allocations: 1.713 MB / 493 MB, free: 21.68 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003362/0.265, allocations: 12.34 kB / 493 MB, free: 21.68 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004593/0.2654, allocations: 205.5 kB / 493.2 MB, free: 21.6 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005316/0.266, allocations: 239.9 kB / 493.4 MB, free: 21.47 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007787/0.2667, allocations: 371.6 kB / 493.8 MB, free: 21.26 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007748/0.2675, allocations: 0.6671 MB / 494.5 MB, free: 20.92 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000423/0.2679, allocations: 237.4 kB / 494.7 MB, free: 20.79 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003792/0.2683, allocations: 280.5 kB / 495 MB, free: 20.64 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000436/0.2687, allocations: 338.9 kB / 495.3 MB, free: 20.49 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.572e-05/0.2688, allocations: 60 kB / 495.4 MB, free: 20.49 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002283/0.2691, allocations: 124 kB / 495.5 MB, free: 20.46 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001842/0.2692, allocations: 233 kB / 495.7 MB, free: 20.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002521/0.2695, allocations: 377.1 kB / 496.1 MB, free: 20.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.2706, allocations: 0.9282 MB / 497 MB, free: 19.67 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2706, allocations: 3.938 kB / 497 MB, free: 19.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2706, allocations: 0 / 497 MB, free: 19.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.509e-05/0.2706, allocations: 0 / 497 MB, free: 19.66 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001731/0.2723, allocations: 1.159 MB / 498.2 MB, free: 18.72 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.2723, allocations: 13.92 kB / 498.2 MB, free: 18.72 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.221e-05/0.2724, allocations: 88.52 kB / 498.3 MB, free: 18.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.2726, allocations: 99.58 kB / 498.4 MB, free: 18.58 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006914/0.2732, allocations: 0.6062 MB / 499 MB, free: 18.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.2733, allocations: 36.41 kB / 499 MB, free: 18.08 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.819e-05/0.2733, allocations: 47.91 kB / 499.1 MB, free: 18.06 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007691/0.2741, allocations: 488.2 kB / 499.5 MB, free: 17.76 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.2741, allocations: 1.281 kB / 499.5 MB, free: 17.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.2742, allocations: 28.25 kB / 499.6 MB, free: 17.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.2742, allocations: 11 kB / 499.6 MB, free: 17.74 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007501/0.2749, allocations: 353.2 kB / 499.9 MB, free: 17.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002157/0.2771, allocations: 1.866 MB / 0.49 GB, free: 16.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000686/0.2778, allocations: 333.5 kB / 0.4903 GB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/0.2781, allocations: 140.1 kB / 0.4905 GB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/0.2781, allocations: 8.188 kB / 0.4905 GB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003773/0.2785, allocations: 195.3 kB / 0.4907 GB, free: 15.69 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 2.425e-06/0.2785, allocations: 1.281 kB / 0.4907 GB, free: 15.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=30): time 0.001491/0.28, allocations: 0.6398 MB / 0.4913 GB, free: 15.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.28, allocations: 58.84 kB / 0.4914 GB, free: 15.24 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000906/0.2809, allocations: 0.9364 MB / 0.4923 GB, free: 14.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.2809, allocations: 31.48 kB / 0.4923 GB, free: 14.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.2811, allocations: 376.8 kB / 0.4927 GB, free: 14.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.778e-05/0.2812, allocations: 103.7 kB / 0.4928 GB, free: 14.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.2813, allocations: 79.28 kB / 0.4928 GB, free: 14.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.934e-05/0.2813, allocations: 383.1 kB / 0.4932 GB, free: 13.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003152/0.2817, allocations: 135.9 kB / 0.4933 GB, free: 13.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003238/0.282, allocations: 207.9 kB / 0.4935 GB, free: 13.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006057/0.2826, allocations: 369.7 kB / 0.4939 GB, free: 13.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.2826, allocations: 0 / 0.4939 GB, free: 13.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009751/0.2836, allocations: 0.5299 MB / 0.4944 GB, free: 13.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.2836, allocations: 41.09 kB / 0.4944 GB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2836, allocations: 5.344 kB / 0.4944 GB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002252/0.2838, allocations: 61.81 kB / 0.4945 GB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002582/0.2841, allocations: 73.45 kB / 0.4946 GB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/0.2853, allocations: 1.812 MB / 0.4963 GB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.2856, allocations: 54.06 kB / 0.4964 GB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/0.2856, allocations: 15.19 kB / 0.4964 GB, free: 11.26 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (stepOff.y,stepOn.y,powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,toConnIceON.conn.iceON,$whenCondition1,ice.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002577/0.2858, allocations: 269.3 kB / 0.4967 GB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.866e-05/0.2859, allocations: 69.72 kB / 0.4967 GB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008577/0.2868, allocations: 441.2 kB / 0.4972 GB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.2868, allocations: 3.5 kB / 0.4972 GB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.2868, allocations: 0 / 0.4972 GB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.2868, allocations: 7.922 kB / 0.4972 GB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005008/0.2873, allocations: 0.5726 MB / 0.4977 GB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.2873, allocations: 9.141 kB / 0.4977 GB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002401/0.2875, allocations: 45.34 kB / 0.4978 GB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001837/0.2877, allocations: 59.34 kB / 0.4978 GB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.2877, allocations: 6.594 kB / 0.4978 GB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/0.2889, allocations: 1.825 MB / 0.4996 GB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2889, allocations: 1.469 kB / 0.4996 GB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.2901, allocations: 0.5932 MB / 0.5002 GB, free: 8.133 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002059/0.2903, allocations: 163.8 kB / 0.5004 GB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-05/0.2904, allocations: 10.33 kB / 0.5004 GB, free: 7.977 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.2906, allocations: 23.36 kB / 0.5004 GB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.341e-05/0.2907, allocations: 29.3 kB / 0.5004 GB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.2908, allocations: 9.5 kB / 0.5004 GB, free: 7.945 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006985/0.2915, allocations: 0.6654 MB / 0.5011 GB, free: 7.609 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2915, allocations: 0 / 0.5011 GB, free: 7.609 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005922/0.292, allocations: 149.1 kB / 0.5012 GB, free: 7.562 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (loadTorque.phi,ice.inertia.w,ice.tokgFuel.y) * Number of discrete variables: 6 ($whenCondition1,toConnIceON.conn.iceON,powReq.T_start,powReq.count,stepOn.y,stepOff.y) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003391/0.2954, allocations: 1.641 MB / 0.5028 GB, free: 6.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.2965, allocations: 0.4985 MB / 0.5033 GB, free: 6.184 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2965, allocations: 1.375 kB / 0.5033 GB, free: 6.184 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004547/0.297, allocations: 280 kB / 0.5036 GB, free: 5.988 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005469/0.2975, allocations: 95.94 kB / 0.5037 GB, free: 5.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008351/0.3059, allocations: 6.484 MB / 0.51 GB, free: 1.078 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.3062, allocations: 0.9557 MB / 0.5109 GB, free: 100 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002513/0.3064, allocations: 76.3 kB / 0.511 GB, free: 24 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003801/0.3068, allocations: 255.4 kB / 0.5112 GB, free: 15.77 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3068, allocations: 0 / 0.5112 GB, free: 15.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1025/0.4094, allocations: 14.17 MB / 0.5251 GB, free: 1.633 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/13.72, allocations: 4 kB / 0.5251 GB, free: 1.629 MB / 382.1 MB " [Timeout remaining time 646] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO.fmu > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.485718564130366] Failed to read output from testmodel.py, exit status != 0: 13.878184541128576 13.902030114 13.627059354 Calling exit ...