Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.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.TestOneFlange,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestOneFlange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestOneFlange,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestOneFlange",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.0007664/0.0007665, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004427/0.004427, allocations: 168.7 kB / 16.26 MB, free: 6.652 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.262/1.262, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1631/0.1631, allocations: 8.03 MB / 299.5 MB, free: 3.312 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002962/0.0002962, allocations: 8.281 kB / 362.5 MB, free: 13.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1011, allocations: 52.19 MB / 414.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.004866/0.106, allocations: 3.717 MB / 418.4 MB, free: 5.879 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002315/0.1084, allocations: 1.372 MB / 419.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002611/0.1086, allocations: 15.94 kB / 419.8 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003651/0.109, allocations: 115.3 kB / 419.9 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004092/0.1094, allocations: 167 kB / 420.1 MB, free: 4.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005879/0.11, allocations: 339.4 kB / 420.4 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007554/0.1108, allocations: 0.7592 MB / 421.2 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005241/0.1113, allocations: 398.1 kB / 421.5 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002451/0.1116, allocations: 231 kB / 421.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003088/0.1119, allocations: 274.6 kB / 422 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.915e-05/0.112, allocations: 32 kB / 422.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.1121, allocations: 67.91 kB / 422.1 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001664/0.1123, allocations: 131.5 kB / 422.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002955/0.1126, allocations: 347.8 kB / 422.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008201/0.1134, allocations: 0.9342 MB / 423.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1134, allocations: 4 kB / 423.5 MB, free: 0.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1134, allocations: 0 / 423.5 MB, free: 0.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.1134, allocations: 0 / 423.5 MB, free: 0.707 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.1867/0.3001, allocations: 0.9835 MB / 424.5 MB, free: 41.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.3002, allocations: 12.06 kB / 424.5 MB, free: 41.7 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00034/0.3006, allocations: 105.2 kB / 424.6 MB, free: 41.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/0.3007, allocations: 83.36 kB / 424.7 MB, free: 41.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007009/0.3014, allocations: 0.4921 MB / 425.2 MB, free: 41.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.165e-05/0.3015, allocations: 47.56 kB / 425.3 MB, free: 41.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.146e-05/0.3016, allocations: 67.84 kB / 425.3 MB, free: 41.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.3028, allocations: 0.6701 MB / 426 MB, free: 41.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.3029, allocations: 7.5 kB / 426 MB, free: 41.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.69e-05/0.3029, allocations: 28.06 kB / 426 MB, free: 41.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.3029, allocations: 15.62 kB / 426 MB, free: 41.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.304, allocations: 0.5005 MB / 426.5 MB, free: 41.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002979/0.307, allocations: 2.548 MB / 429.1 MB, free: 40.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008562/0.3078, allocations: 448.3 kB / 429.5 MB, free: 40.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003907/0.3082, allocations: 187 kB / 429.7 MB, free: 40.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.916e-05/0.3083, allocations: 12.17 kB / 429.7 MB, free: 40.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005538/0.3088, allocations: 266.9 kB / 430 MB, free: 40.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.492e-06/0.3089, allocations: 3.25 kB / 430 MB, free: 40.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001544/0.3104, allocations: 0.7274 MB / 430.7 MB, free: 39.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.3105, allocations: 143.1 kB / 430.9 MB, free: 39.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005469/0.311, allocations: 0.5625 MB / 431.4 MB, free: 39.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.3111, allocations: 32.11 kB / 431.5 MB, free: 39.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002326/0.3113, allocations: 343 kB / 431.8 MB, free: 39.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.657e-05/0.3114, allocations: 109.8 kB / 431.9 MB, free: 39.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.534e-05/0.3115, allocations: 37.27 kB / 431.9 MB, free: 39.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.3116, allocations: 373 kB / 432.3 MB, free: 38.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000403/0.312, allocations: 163.1 kB / 432.5 MB, free: 38.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004511/0.3125, allocations: 276.9 kB / 432.7 MB, free: 38.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009212/0.3134, allocations: 0.5632 MB / 433.3 MB, free: 38.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3134, allocations: 0 / 433.3 MB, free: 38.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001179/0.3146, allocations: 0.6259 MB / 433.9 MB, free: 38.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.3147, allocations: 256.7 kB / 434.2 MB, free: 38.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.3147, allocations: 2.969 kB / 434.2 MB, free: 38.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001552/0.3149, allocations: 27.64 kB / 434.2 MB, free: 38.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003179/0.3152, allocations: 96.45 kB / 434.3 MB, free: 37.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007626/0.316, allocations: 1.285 MB / 435.6 MB, free: 36.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004286/0.3164, allocations: 85.7 kB / 435.7 MB, free: 36.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/0.3165, allocations: 17.22 kB / 435.7 MB, free: 36.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.761e-06/0.3165, allocations: 7.281 kB / 435.7 MB, free: 36.65 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009256/0.3174, allocations: 0.5403 MB / 436.2 MB, free: 36.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3174, allocations: 3.031 kB / 436.2 MB, free: 36.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.946e-05/0.3175, allocations: 29.41 kB / 436.3 MB, free: 36.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/0.3178, allocations: 87.12 kB / 436.3 MB, free: 36.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006118/0.3184, allocations: 1.284 MB / 437.6 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003741/0.3188, allocations: 77.95 kB / 437.7 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/0.3188, allocations: 23.16 kB / 437.7 MB, free: 35.01 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (oneFlange.limTau.state,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1,oneFlange.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 3 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003755/0.3192, allocations: 352.3 kB / 438.1 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.592e-05/0.3193, allocations: 60.08 kB / 438.1 MB, free: 34.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.3203, allocations: 0.518 MB / 438.6 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3203, allocations: 4.188 kB / 438.6 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.3203, allocations: 5.062 kB / 438.6 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3203, allocations: 0 / 438.6 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.3218, allocations: 1.167 MB / 439.8 MB, free: 33.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3219, allocations: 3.156 kB / 439.8 MB, free: 33.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002822/0.3221, allocations: 65.69 kB / 439.9 MB, free: 33.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.185e-05/0.3222, allocations: 21.75 kB / 439.9 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/0.3223, allocations: 7.031 kB / 439.9 MB, free: 33.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005771/0.3228, allocations: 1.293 MB / 441.2 MB, free: 32.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3229, allocations: 0 / 441.2 MB, free: 32.42 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.3242, allocations: 0.8197 MB / 442 MB, free: 31.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.757e-05/0.3243, allocations: 144 kB / 442.2 MB, free: 31.85 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.882e-05/0.3243, allocations: 7.375 kB / 442.2 MB, free: 31.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003661/0.3247, allocations: 57.28 kB / 442.2 MB, free: 31.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.48e-05/0.3248, allocations: 35.16 kB / 442.3 MB, free: 31.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.3248, allocations: 10.16 kB / 442.3 MB, free: 31.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003512/0.3252, allocations: 409.2 kB / 442.7 MB, free: 31.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3252, allocations: 0 / 442.7 MB, free: 31.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006884/0.3259, allocations: 271.2 kB / 442.9 MB, free: 31.57 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (inertia.w,loadTorque.phi,oneFlange.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,tauRef.T_start,tauRef.count,oneFlange.limTau.state) * Number of discrete states: 2 (tauRef.count,oneFlange.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 2 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002225/0.3281, allocations: 1.611 MB / 444.5 MB, free: 30.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001627/0.3298, allocations: 1.212 MB / 445.8 MB, free: 29.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3298, allocations: 4.062 kB / 445.8 MB, free: 29.76 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005554/0.3303, allocations: 446.1 kB / 446.2 MB, free: 29.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005509/0.3309, allocations: 86.23 kB / 446.3 MB, free: 29.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00694/0.3378, allocations: 5.842 MB / 452.1 MB, free: 26 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.3382, allocations: 0.8932 MB / 453 MB, free: 25.28 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002384/0.3384, allocations: 69.02 kB / 453.1 MB, free: 25.26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002177/0.3387, allocations: 208.9 kB / 453.3 MB, free: 25.1 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3387, allocations: 0 / 453.3 MB, free: 25.1 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.024/0.3627, allocations: 11.59 MB / 464.9 MB, free: 24.15 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001596/0.3629, allocations: 255.2 kB / 465.1 MB, free: 23.9 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.07/2.432, allocations: 0 / 465.1 MB, free: 23.9 MB / 350.1 MB (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestOneFlange_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestOneFlange.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe 2>&1)