Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007907/0.0007907, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008687/0.0008687, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8936/0.8936, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.02656/0.02656, allocations: 6.473 MB / 265.7 MB, free: 6.859 MB / 250.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 391.6 MB, free: 5.727 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.695e-05/1.913e-05, allocations: 2.281 kB / 391.6 MB, free: 5.723 MB / 362.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.00385/0.003869, allocations: 3.613 MB / 395.3 MB, free: 2.09 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.005715, allocations: 1.164 MB / 396.4 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002254/0.00594, allocations: 7.938 kB / 396.4 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003798/0.00632, allocations: 210.7 kB / 396.6 MB, free: 0.707 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005037/0.006824, allocations: 286.4 kB / 396.9 MB, free: 436 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005668/0.007391, allocations: 373.2 kB / 397.3 MB, free: 68 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005438/0.007934, allocations: 0.6588 MB / 397.9 MB, free: 15.4 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000287/0.008221, allocations: 187.9 kB / 398.1 MB, free: 15.21 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004186/0.00864, allocations: 379 kB / 398.5 MB, free: 14.84 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/0.008881, allocations: 263.2 kB / 398.7 MB, free: 14.58 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.224e-05/0.008933, allocations: 56 kB / 398.8 MB, free: 14.53 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.009078, allocations: 119.8 kB / 398.9 MB, free: 14.41 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.009222, allocations: 215.3 kB / 399.1 MB, free: 14.2 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.00936, allocations: 211.3 kB / 399.3 MB, free: 13.99 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006785/0.01004, allocations: 0.8839 MB / 400.2 MB, free: 13.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.01004, allocations: 4 kB / 400.2 MB, free: 13.1 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.01004, allocations: 4 kB / 400.2 MB, free: 13.1 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.01005, allocations: 3.984 kB / 400.2 MB, free: 13.09 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.00112/0.01117, allocations: 1.043 MB / 401.3 MB, free: 12.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.01121, allocations: 8.031 kB / 401.3 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.108e-05/0.01127, allocations: 86.64 kB / 401.4 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.697e-05/0.01136, allocations: 88.38 kB / 401.4 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005264/0.01188, allocations: 0.5333 MB / 402 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/0.01191, allocations: 37.38 kB / 402 MB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.731e-05/0.01196, allocations: 44.12 kB / 402.1 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004966/0.01246, allocations: 435.8 kB / 402.5 MB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.01247, allocations: 0 / 402.5 MB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.0125, allocations: 16 kB / 402.5 MB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.0125, allocations: 12 kB / 402.5 MB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004346/0.01294, allocations: 315.7 kB / 402.8 MB, free: 10.4 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.01468, allocations: 1.561 MB / 404.4 MB, free: 8.773 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004697/0.01515, allocations: 302.8 kB / 404.7 MB, free: 8.469 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.01531, allocations: 116.8 kB / 404.8 MB, free: 8.352 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.01534, allocations: 4 kB / 404.8 MB, free: 8.348 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002519/0.01559, allocations: 179.2 kB / 405 MB, free: 8.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 1.492e-06/0.01559, allocations: 0 / 405 MB, free: 8.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=26): time 0.0008942/0.01648, allocations: 0.5366 MB / 405.5 MB, free: 7.613 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.01653, allocations: 55.41 kB / 405.6 MB, free: 7.547 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007141/0.01724, allocations: 0.9457 MB / 406.5 MB, free: 6.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.01726, allocations: 29.7 kB / 406.5 MB, free: 6.555 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.01746, allocations: 364.4 kB / 406.9 MB, free: 6.191 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.821e-05/0.01751, allocations: 91.34 kB / 407 MB, free: 6.102 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.218e-05/0.01759, allocations: 70.03 kB / 407.1 MB, free: 6.023 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.01771, allocations: 394.7 kB / 407.4 MB, free: 5.629 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.01791, allocations: 150.4 kB / 407.6 MB, free: 5.477 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.01812, allocations: 229.7 kB / 407.8 MB, free: 5.223 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003825/0.0185, allocations: 345.3 kB / 408.1 MB, free: 4.852 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.01851, allocations: 0 / 408.1 MB, free: 4.852 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006146/0.01912, allocations: 0.5426 MB / 408.7 MB, free: 4.289 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.01915, allocations: 33.7 kB / 408.7 MB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.01916, allocations: 0 / 408.7 MB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001746/0.01933, allocations: 64.81 kB / 408.8 MB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.01948, allocations: 71.83 kB / 408.9 MB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/0.02082, allocations: 1.703 MB / 410.6 MB, free: 2.301 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.02098, allocations: 47.7 kB / 410.6 MB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.02099, allocations: 16 kB / 410.6 MB, free: 2.238 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 6 (powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,$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 (40): * Single equations (assignments): 38 * 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.0002105/0.02121, allocations: 269.7 kB / 410.9 MB, free: 1.965 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.082e-05/0.02126, allocations: 71.52 kB / 411 MB, free: 1.895 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005239/0.02178, allocations: 397.1 kB / 411.3 MB, free: 1.496 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.02178, allocations: 4 kB / 411.3 MB, free: 1.492 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.02178, allocations: 0 / 411.3 MB, free: 1.492 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.02179, allocations: 3.938 kB / 411.3 MB, free: 1.488 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003386/0.02213, allocations: 476.3 kB / 411.8 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.02213, allocations: 0 / 411.8 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.02226, allocations: 48.08 kB / 411.9 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001171/0.02238, allocations: 64.81 kB / 411.9 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.02239, allocations: 4 kB / 411.9 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009788/0.02337, allocations: 1.699 MB / 413.6 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.02337, allocations: 0 / 413.6 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006909/0.02406, allocations: 0.5402 MB / 414.2 MB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.865e-05/0.02415, allocations: 95.47 kB / 414.3 MB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.02418, allocations: 8 kB / 414.3 MB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.02429, allocations: 19.97 kB / 414.3 MB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.857e-05/0.02436, allocations: 27.95 kB / 414.3 MB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.02437, allocations: 4.188 kB / 414.3 MB, free: 14.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005512/0.02492, allocations: 0.6826 MB / 415 MB, free: 13.66 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02492, allocations: 4 kB / 415 MB, free: 13.65 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000348/0.02527, allocations: 131.7 kB / 415.1 MB, free: 13.52 MB / 394.7 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: 3 ($whenCondition1,powReq.T_start,powReq.count) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * 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.001847/0.02712, allocations: 1.637 MB / 416.8 MB, free: 12.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006294/0.02775, allocations: 0.4884 MB / 417.3 MB, free: 11.64 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.02775, allocations: 448 / 417.3 MB, free: 11.64 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000266/0.02801, allocations: 278.2 kB / 417.5 MB, free: 11.36 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.02834, allocations: 86.88 kB / 417.6 MB, free: 11.28 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006694/0.03503, allocations: 6.478 MB / 424.1 MB, free: 4.629 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.03531, allocations: 349.9 kB / 424.4 MB, free: 4.266 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001945/0.03551, allocations: 76.33 kB / 424.5 MB, free: 4.188 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002479/0.03575, allocations: 244.4 kB / 424.7 MB, free: 3.949 MB / 394.7 MB Notification: Performance of SimCode: time 9.32e-07/0.03575, allocations: 0 / 424.7 MB, free: 3.949 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02937/0.06512, allocations: 14.74 MB / 439.5 MB, free: 5.246 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.914/7.979, allocations: 9.922 kB / 439.5 MB, free: 5.238 MB / 410.7 MB " [Timeout remaining time 652] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=50 --tolerance=1e-06 EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn.fmu > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.948125068098307] Failed to read output from testmodel.py, exit status != 0: 8.096453629434109 8.261139609 8.249488405 Calling exit ...