Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.conf.json 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/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/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/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.TestIceP,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceP,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 192 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1787/0.1787, allocations: 8.932 MB / 299.3 MB, free: 2.059 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 67.89 kB / 361.9 MB, free: 13.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0999/0.1019, allocations: 51.48 MB / 413.4 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.006265/0.1082, allocations: 3.757 MB / 417.2 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003075/0.1113, allocations: 1.747 MB / 418.9 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003378/0.1117, allocations: 11.94 kB / 418.9 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006211/0.1124, allocations: 338.7 kB / 419.3 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006928/0.1131, allocations: 294.6 kB / 419.6 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009699/0.114, allocations: 422.2 kB / 420 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009486/0.115, allocations: 0.6784 MB / 420.6 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004548/0.1155, allocations: 247.9 kB / 420.9 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004734/0.116, allocations: 283 kB / 421.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005832/0.1165, allocations: 378.5 kB / 421.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.1167, allocations: 56 kB / 421.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002739/0.117, allocations: 119.9 kB / 421.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003029/0.1173, allocations: 315 kB / 422 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004931/0.1178, allocations: 465.1 kB / 422.5 MB, free: 412 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1477/0.2655, allocations: 1.141 MB / 423.6 MB, free: 38.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.2656, allocations: 0 / 423.6 MB, free: 38.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2656, allocations: 0 / 423.6 MB, free: 38.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.205e-05/0.2656, allocations: 0 / 423.6 MB, free: 38.27 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001943/0.2676, allocations: 1.419 MB / 425 MB, free: 37.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.2676, allocations: 15.98 kB / 425 MB, free: 37.42 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.242e-05/0.2677, allocations: 80.17 kB / 425.1 MB, free: 37.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.2678, allocations: 120.1 kB / 425.2 MB, free: 37.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008148/0.2686, allocations: 0.8333 MB / 426.1 MB, free: 36.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.2687, allocations: 29.06 kB / 426.1 MB, free: 36.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.08e-05/0.2687, allocations: 51.44 kB / 426.2 MB, free: 36.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007437/0.2695, allocations: 452.8 kB / 426.6 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.2695, allocations: 2.562 kB / 426.6 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.373e-05/0.2696, allocations: 12.62 kB / 426.6 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.2696, allocations: 14.5 kB / 426.6 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007485/0.2703, allocations: 330.5 kB / 426.9 MB, free: 36.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002431/0.2728, allocations: 2.021 MB / 429 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008884/0.2737, allocations: 437.1 kB / 429.4 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003166/0.274, allocations: 139.8 kB / 429.5 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.776e-05/0.2741, allocations: 3.812 kB / 429.5 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004099/0.2745, allocations: 197 kB / 429.7 MB, free: 35.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.094e-06/0.2745, allocations: 0.7656 kB / 429.7 MB, free: 35.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001644/0.2761, allocations: 0.6842 MB / 430.4 MB, free: 35.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.2762, allocations: 80.33 kB / 430.5 MB, free: 35.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/0.2777, allocations: 1.663 MB / 432.2 MB, free: 35.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.2778, allocations: 34.67 kB / 432.2 MB, free: 35.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003209/0.2781, allocations: 482.1 kB / 432.7 MB, free: 35.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.18e-05/0.2782, allocations: 94.56 kB / 432.7 MB, free: 35.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.2783, allocations: 81.73 kB / 432.8 MB, free: 35.28 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.087e-05/0.2784, allocations: 323.7 kB / 433.1 MB, free: 34.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003663/0.2787, allocations: 140.6 kB / 433.3 MB, free: 34.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003717/0.2791, allocations: 217.8 kB / 433.5 MB, free: 34.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006864/0.2798, allocations: 373.9 kB / 433.9 MB, free: 34.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.2798, allocations: 3.219 kB / 433.9 MB, free: 34.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001123/0.281, allocations: 0.5643 MB / 434.4 MB, free: 34.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/0.281, allocations: 35.14 kB / 434.5 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.281, allocations: 6.781 kB / 434.5 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002484/0.2813, allocations: 59.56 kB / 434.5 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000298/0.2816, allocations: 81.27 kB / 434.6 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/0.2829, allocations: 1.813 MB / 436.4 MB, free: 32.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004107/0.2833, allocations: 56.66 kB / 436.5 MB, free: 32.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.2833, allocations: 13.69 kB / 436.5 MB, free: 32.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006237/0.284, allocations: 464.1 kB / 436.9 MB, free: 32.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003213/0.2843, allocations: 199.8 kB / 437.1 MB, free: 32.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005798/0.2849, allocations: 342.9 kB / 437.5 MB, free: 32.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.004e-06/0.2849, allocations: 0 / 437.5 MB, free: 32.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.00112/0.286, allocations: 0.5465 MB / 438 MB, free: 31.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.947e-05/0.2861, allocations: 32.14 kB / 438 MB, free: 31.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2861, allocations: 5.594 kB / 438.1 MB, free: 31.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002046/0.2863, allocations: 62.11 kB / 438.1 MB, free: 31.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002744/0.2866, allocations: 76.95 kB / 438.2 MB, free: 31.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/0.2879, allocations: 1.807 MB / 440 MB, free: 30.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004695/0.2884, allocations: 43.03 kB / 440 MB, free: 30.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.2884, allocations: 18.12 kB / 440.1 MB, free: 30.24 MB / 350.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: 6 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,iceP.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * 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.0001495/0.2886, allocations: 213.5 kB / 440.3 MB, free: 30.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.2887, allocations: 93.16 kB / 440.4 MB, free: 30 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/0.2898, allocations: 473.1 kB / 440.8 MB, free: 29.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.2898, allocations: 5.938 kB / 440.8 MB, free: 29.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.2898, allocations: 3.469 kB / 440.8 MB, free: 29.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.2899, allocations: 3.25 kB / 440.8 MB, free: 29.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001675/0.2915, allocations: 1.216 MB / 442 MB, free: 29.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.2916, allocations: 0 / 442 MB, free: 29.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002669/0.2918, allocations: 59.45 kB / 442.1 MB, free: 29.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001883/0.292, allocations: 57.98 kB / 442.2 MB, free: 29.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/0.2921, allocations: 14.39 kB / 442.2 MB, free: 29.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001206/0.2933, allocations: 1.788 MB / 444 MB, free: 27.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.2933, allocations: 6.594 kB / 444 MB, free: 27.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.2947, allocations: 0.6838 MB / 444.7 MB, free: 27.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002408/0.2949, allocations: 217.2 kB / 444.9 MB, free: 27.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.612e-05/0.295, allocations: 7.094 kB / 444.9 MB, free: 27.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003164/0.2953, allocations: 29.16 kB / 444.9 MB, free: 27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.764e-05/0.2954, allocations: 27.3 kB / 444.9 MB, free: 27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.2955, allocations: 9.219 kB / 444.9 MB, free: 27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001232/0.2967, allocations: 1.2 MB / 446.1 MB, free: 26.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.2967, allocations: 0 / 446.1 MB, free: 26.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008636/0.2976, allocations: 278.6 kB / 446.4 MB, free: 26.5 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (iceP.inertia.w,iceP.tokgFuel.y,loadTorque.phi) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * 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.003643/0.3012, allocations: 1.731 MB / 448.1 MB, free: 25.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001764/0.303, allocations: 0.8905 MB / 449 MB, free: 25.03 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.303, allocations: 3.188 kB / 449 MB, free: 25.03 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004752/0.3035, allocations: 272.1 kB / 449.3 MB, free: 24.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009643/0.3045, allocations: 113.4 kB / 449.4 MB, free: 24.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0124/0.3169, allocations: 10.6 MB / 460 MB, free: 19.81 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006841/0.3176, allocations: 1.091 MB / 461.1 MB, free: 19.05 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004187/0.3181, allocations: 138.4 kB / 461.2 MB, free: 19.03 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003985/0.3185, allocations: 347 kB / 461.6 MB, free: 18.76 MB / 350.1 MB Notification: Performance of SimCode: time 9.51e-07/0.3185, allocations: 0 / 461.6 MB, free: 18.76 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06041/0.3789, allocations: 19.82 MB / 481.4 MB, free: 15.03 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.15, allocations: 15.83 kB / 481.4 MB, free: 15.01 MB / 350.1 MB (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceP_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceP.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe 2>&1)