Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange1.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.TestOneFlange1,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestOneFlange1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestOneFlange1,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestOneFlange1",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.001276/0.001276, allocations: 103.6 kB / 15.78 MB, free: 5.93 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.001295/0.001295, allocations: 196.7 kB / 16.72 MB, free: 5.793 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.396/1.396, allocations: 225.6 MB / 243.1 MB, free: 3.695 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03471/0.03471, allocations: 7.888 MB / 303.9 MB, free: 3.277 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 59.91 kB / 423.5 MB, free: 1.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2643, allocations: 54.01 MB / 477.5 MB, free: 23.6 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange1): time 0.005456/0.2698, allocations: 4.868 MB / 482.4 MB, free: 20.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002748/0.2725, allocations: 1.954 MB / 484.3 MB, free: 18.76 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003464/0.2729, allocations: 16.88 kB / 484.3 MB, free: 18.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005708/0.2735, allocations: 244 kB / 484.6 MB, free: 18.64 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006345/0.2741, allocations: 293.6 kB / 484.9 MB, free: 18.46 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009872/0.2751, allocations: 0.5515 MB / 485.4 MB, free: 18.13 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009593/0.276, allocations: 1.025 MB / 486.4 MB, free: 17.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004816/0.2765, allocations: 339.8 kB / 486.8 MB, free: 17.37 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003833/0.2769, allocations: 391.1 kB / 487.2 MB, free: 17.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004618/0.2774, allocations: 447.9 kB / 487.6 MB, free: 16.94 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001333/0.2775, allocations: 102.3 kB / 487.7 MB, free: 16.94 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003299/0.2778, allocations: 190.2 kB / 487.9 MB, free: 16.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002098/0.278, allocations: 236.8 kB / 488.1 MB, free: 16.76 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003354/0.2784, allocations: 468.7 kB / 488.6 MB, free: 16.44 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.2798, allocations: 1.237 MB / 489.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.2798, allocations: 0 / 489.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2798, allocations: 4 kB / 489.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.2798, allocations: 1.156 kB / 489.8 MB, free: 15.89 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001938/0.2817, allocations: 1.312 MB / 491.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2818, allocations: 12.39 kB / 491.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001253/0.2819, allocations: 110.2 kB / 491.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002012/0.2821, allocations: 107.9 kB / 491.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007488/0.2828, allocations: 0.5989 MB / 492 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.672e-05/0.2829, allocations: 55.36 kB / 492 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.583e-05/0.283, allocations: 79.2 kB / 492.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.2842, allocations: 0.6849 MB / 492.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.2842, allocations: 1.188 kB / 492.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.546e-05/0.2843, allocations: 35.81 kB / 492.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.2843, allocations: 20.84 kB / 492.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.2854, allocations: 0.4951 MB / 493.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00316/0.2885, allocations: 2.604 MB / 495.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009269/0.2895, allocations: 434.6 kB / 496.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003781/0.2898, allocations: 158.1 kB / 496.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.488e-05/0.2899, allocations: 17.84 kB / 496.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005626/0.2904, allocations: 268.8 kB / 496.8 MB, free: 11.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 1.483e-06/0.2904, allocations: 0 / 496.8 MB, free: 11.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.001691/0.2921, allocations: 0.7461 MB / 497.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.099e-05/0.2922, allocations: 140.5 kB / 497.7 MB, free: 11.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009525/0.2932, allocations: 0.7917 MB / 498.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/0.2932, allocations: 33.36 kB / 498.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/0.2934, allocations: 414.9 kB / 498.9 MB, free: 10.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.623e-05/0.2935, allocations: 122.3 kB / 499 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.2936, allocations: 95.58 kB / 499.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.107e-05/0.2937, allocations: 376.2 kB / 499.5 MB, free: 9.844 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004001/0.2941, allocations: 178.9 kB / 499.7 MB, free: 9.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004236/0.2945, allocations: 284.6 kB / 499.9 MB, free: 9.535 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000794/0.2953, allocations: 0.5707 MB / 0.4888 GB, free: 9.078 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.2953, allocations: 1.156 kB / 0.4888 GB, free: 9.078 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001099/0.2964, allocations: 0.6602 MB / 0.4894 GB, free: 8.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.439e-05/0.2965, allocations: 94.52 kB / 0.4895 GB, free: 8.578 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.2965, allocations: 3.344 kB / 0.4895 GB, free: 8.578 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001462/0.2966, allocations: 25.75 kB / 0.4895 GB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003492/0.297, allocations: 94.84 kB / 0.4896 GB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000688/0.2977, allocations: 1.385 MB / 0.491 GB, free: 7.094 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004189/0.2981, allocations: 90.39 kB / 0.4911 GB, free: 7.039 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.239e-05/0.2981, allocations: 19.88 kB / 0.4911 GB, free: 7.035 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005402/0.2987, allocations: 362.2 kB / 0.4914 GB, free: 6.812 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004019/0.2991, allocations: 269.9 kB / 0.4917 GB, free: 6.602 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007218/0.2998, allocations: 0.554 MB / 0.4922 GB, free: 6.148 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.735e-06/0.2998, allocations: 1.438 kB / 0.4922 GB, free: 6.148 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001011/0.3008, allocations: 0.6332 MB / 0.4928 GB, free: 5.762 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.227e-05/0.3008, allocations: 98 kB / 0.4929 GB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3008, allocations: 3.375 kB / 0.4929 GB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.055e-05/0.3009, allocations: 25.34 kB / 0.493 GB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003198/0.3012, allocations: 93.2 kB / 0.4931 GB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005696/0.3018, allocations: 1.383 MB / 0.4944 GB, free: 4.176 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003854/0.3022, allocations: 63.8 kB / 0.4945 GB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/0.3022, allocations: 22.81 kB / 0.4945 GB, free: 4.137 MB / 366.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.pDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * 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.0001486/0.3024, allocations: 283.1 kB / 0.4948 GB, free: 3.855 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.819e-05/0.3025, allocations: 72.53 kB / 0.4948 GB, free: 3.816 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.3035, allocations: 0.5338 MB / 0.4953 GB, free: 3.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.3035, allocations: 4.156 kB / 0.4954 GB, free: 3.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.3035, allocations: 4 kB / 0.4954 GB, free: 3.477 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.3035, allocations: 5.078 kB / 0.4954 GB, free: 3.473 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/0.3051, allocations: 1.266 MB / 0.4966 GB, free: 2.527 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.3051, allocations: 4 kB / 0.4966 GB, free: 2.523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/0.3054, allocations: 68.47 kB / 0.4967 GB, free: 2.504 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.65e-05/0.3055, allocations: 22.17 kB / 0.4967 GB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/0.3055, allocations: 16.77 kB / 0.4967 GB, free: 2.477 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005837/0.3061, allocations: 1.367 MB / 0.498 GB, free: 1.047 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.3061, allocations: 5 kB / 0.498 GB, free: 1.043 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.3075, allocations: 0.8355 MB / 0.4989 GB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.3076, allocations: 188.7 kB / 0.499 GB, free: 340 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.608e-05/0.3077, allocations: 10.69 kB / 0.4991 GB, free: 332 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003547/0.308, allocations: 44.44 kB / 0.4991 GB, free: 312 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.982e-05/0.3081, allocations: 38.16 kB / 0.4991 GB, free: 288 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.3082, allocations: 12.73 kB / 0.4991 GB, free: 284 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005946/0.3088, allocations: 0.554 MB / 0.4997 GB, free: 15.97 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3088, allocations: 1.562 kB / 0.4997 GB, free: 15.97 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008257/0.3096, allocations: 313.3 kB / 0.5 GB, free: 15.88 MB / 382.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.pDC.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 (33): * Single equations (assignments): 28 * 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.004151/0.3137, allocations: 1.883 MB / 0.5018 GB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002111/0.3159, allocations: 1.182 MB / 0.503 GB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3159, allocations: 4.062 kB / 0.503 GB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006608/0.3165, allocations: 415.5 kB / 0.5034 GB, free: 13.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006672/0.3172, allocations: 132.2 kB / 0.5035 GB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/0.3277, allocations: 6.209 MB / 0.5096 GB, free: 8.375 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007122/0.3284, allocations: 0.9528 MB / 0.5105 GB, free: 7.395 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003427/0.3288, allocations: 88.53 kB / 0.5106 GB, free: 7.305 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000392/0.3292, allocations: 271.3 kB / 0.5108 GB, free: 7.039 MB / 382.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3292, allocations: 0 / 0.5108 GB, free: 7.039 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05069/0.3798, allocations: 15.71 MB / 0.5262 GB, free: 7.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.87, allocations: 14.16 kB / 0.5262 GB, free: 7.422 MB / 398.1 MB (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange1.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange1.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange1.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestOneFlange1_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestOneFlange1.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange1.pipe 2>&1)