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.001428/0.001428, allocations: 105.7 kB / 17.54 MB, free: 4.746 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.001469/0.001469, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.329/1.329, allocations: 225.6 MB / 249.3 MB, free: 3.156 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.03632/0.03632, allocations: 8.539 MB / 313 MB, free: 1.941 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.001906/0.001906, allocations: 63.89 kB / 435.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2221, allocations: 54.19 MB / 490.1 MB, free: 25.67 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.004531/0.2266, allocations: 3.894 MB / 494 MB, free: 22.96 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002088/0.2287, allocations: 1.776 MB / 495.8 MB, free: 21.69 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002047/0.2289, allocations: 11.66 kB / 495.8 MB, free: 21.68 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004248/0.2294, allocations: 211.1 kB / 496 MB, free: 21.6 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004537/0.2298, allocations: 239.9 kB / 496.2 MB, free: 21.47 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006563/0.2305, allocations: 377.2 kB / 496.6 MB, free: 21.26 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005632/0.231, allocations: 0.6631 MB / 497.3 MB, free: 20.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003396/0.2314, allocations: 234.9 kB / 497.5 MB, free: 20.79 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002691/0.2316, allocations: 281.4 kB / 497.8 MB, free: 20.64 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003595/0.232, allocations: 338 kB / 498.1 MB, free: 20.49 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.318e-05/0.2321, allocations: 60.5 kB / 498.2 MB, free: 20.49 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.2323, allocations: 122.9 kB / 498.3 MB, free: 20.46 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001797/0.2324, allocations: 234.9 kB / 498.5 MB, free: 20.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002213/0.2327, allocations: 372.1 kB / 498.9 MB, free: 20.08 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000761/0.2334, allocations: 0.9322 MB / 499.8 MB, free: 19.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2334, allocations: 0 / 499.8 MB, free: 19.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2334, allocations: 5.156 kB / 499.8 MB, free: 19.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.487e-06/0.2334, allocations: 0 / 499.8 MB, free: 19.57 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.001415/0.2348, allocations: 1.156 MB / 0.4892 GB, free: 18.61 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.2349, allocations: 13.39 kB / 0.4892 GB, free: 18.61 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.286e-05/0.235, allocations: 89.7 kB / 0.4893 GB, free: 18.53 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.2351, allocations: 94.2 kB / 0.4894 GB, free: 18.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005794/0.2357, allocations: 0.6069 MB / 0.49 GB, free: 17.99 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/0.2357, allocations: 36.5 kB / 0.49 GB, free: 17.97 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.269e-05/0.2357, allocations: 51.41 kB / 0.4901 GB, free: 17.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007443/0.2365, allocations: 485.3 kB / 0.4905 GB, free: 17.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.2365, allocations: 5.203 kB / 0.4906 GB, free: 17.65 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.418e-05/0.2365, allocations: 16.09 kB / 0.4906 GB, free: 17.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.2366, allocations: 14.73 kB / 0.4906 GB, free: 17.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007591/0.2373, allocations: 352 kB / 0.4909 GB, free: 17.47 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002035/0.2393, allocations: 1.87 MB / 0.4927 GB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000745/0.2401, allocations: 332.9 kB / 0.4931 GB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003132/0.2404, allocations: 136.3 kB / 0.4932 GB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.863e-05/0.2404, allocations: 7.406 kB / 0.4932 GB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004235/0.2409, allocations: 196.4 kB / 0.4934 GB, free: 15.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.473e-06/0.2409, allocations: 1 kB / 0.4934 GB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=30): time 0.001524/0.2424, allocations: 0.6397 MB / 0.494 GB, free: 15.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.2424, allocations: 58.94 kB / 0.4941 GB, free: 15.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009036/0.2433, allocations: 0.9328 MB / 0.495 GB, free: 14.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.2433, allocations: 36.14 kB / 0.495 GB, free: 14.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.2435, allocations: 371.8 kB / 0.4954 GB, free: 14.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.47e-05/0.2436, allocations: 103.3 kB / 0.4955 GB, free: 14.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.2437, allocations: 83.84 kB / 0.4955 GB, free: 14.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.5e-05/0.2438, allocations: 382.2 kB / 0.4959 GB, free: 13.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003348/0.2441, allocations: 136.7 kB / 0.496 GB, free: 13.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/0.2445, allocations: 211.7 kB / 0.4962 GB, free: 13.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006467/0.2451, allocations: 369 kB / 0.4966 GB, free: 13.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2451, allocations: 5.156 kB / 0.4966 GB, free: 13.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001003/0.2461, allocations: 0.5293 MB / 0.4971 GB, free: 13.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.2461, allocations: 36.62 kB / 0.4972 GB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.2461, allocations: 10.16 kB / 0.4972 GB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000233/0.2464, allocations: 64.41 kB / 0.4972 GB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/0.2466, allocations: 74.3 kB / 0.4973 GB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/0.2479, allocations: 1.804 MB / 0.4991 GB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002782/0.2482, allocations: 54.44 kB / 0.4991 GB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/0.2482, allocations: 14.78 kB / 0.4991 GB, free: 11.16 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.0002528/0.2484, allocations: 270.7 kB / 0.4994 GB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.079e-05/0.2485, allocations: 69.62 kB / 0.4994 GB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009179/0.2494, allocations: 441.5 kB / 0.4999 GB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2494, allocations: 6.531 kB / 0.4999 GB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.2494, allocations: 5 kB / 0.4999 GB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.2494, allocations: 3.984 kB / 0.4999 GB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004928/0.2499, allocations: 0.5693 MB / 0.5004 GB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2499, allocations: 0 / 0.5004 GB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/0.2502, allocations: 57.45 kB / 0.5005 GB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001698/0.2503, allocations: 55.59 kB / 0.5005 GB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.2504, allocations: 5.938 kB / 0.5006 GB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00111/0.2515, allocations: 1.818 MB / 0.5023 GB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2515, allocations: 4 kB / 0.5023 GB, free: 8.379 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.2526, allocations: 0.5946 MB / 0.5029 GB, free: 8.031 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.2527, allocations: 158.9 kB / 0.5031 GB, free: 7.887 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.68e-05/0.2528, allocations: 10.73 kB / 0.5031 GB, free: 7.879 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.253, allocations: 24.3 kB / 0.5031 GB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.676e-05/0.2531, allocations: 32.33 kB / 0.5031 GB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.2531, allocations: 5.5 kB / 0.5031 GB, free: 7.848 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006488/0.2538, allocations: 0.6686 MB / 0.5038 GB, free: 7.508 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2538, allocations: 0 / 0.5038 GB, free: 7.508 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005038/0.2543, allocations: 146.1 kB / 0.5039 GB, free: 7.465 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.003393/0.2577, allocations: 1.642 MB / 0.5055 GB, free: 6.406 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009644/0.2586, allocations: 0.4988 MB / 0.506 GB, free: 6.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2586, allocations: 0 / 0.506 GB, free: 6.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000446/0.2591, allocations: 277.3 kB / 0.5063 GB, free: 5.879 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.2595, allocations: 102.3 kB / 0.5064 GB, free: 5.816 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007453/0.267, allocations: 6.485 MB / 0.5127 GB, free: 388 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005732/0.2675, allocations: 0.9518 MB / 0.5136 GB, free: 15.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002305/0.2678, allocations: 80.33 kB / 0.5137 GB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003511/0.2681, allocations: 259.3 kB / 0.514 GB, free: 15.07 MB / 382.1 MB Notification: Performance of SimCode: time 8.22e-07/0.2681, allocations: 0 / 0.514 GB, free: 15.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04761/0.3157, allocations: 14.17 MB / 0.5278 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/11.98, allocations: 19.11 kB / 0.5278 GB, free: 0.9102 MB / 382.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 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: 14.403982007002924]