Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange4.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.TestOneFlange4,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestOneFlange4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestOneFlange4,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestOneFlange4",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.005533/0.005533, allocations: 100.2 kB / 15.78 MB, free: 5.977 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.00134/0.00134, allocations: 194.3 kB / 16.73 MB, free: 5.852 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.4/1.4, allocations: 225.6 MB / 243.1 MB, free: 3.758 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03494/0.03494, allocations: 7.891 MB / 303.9 MB, free: 3.195 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 71.89 kB / 423.5 MB, free: 1.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2805, allocations: 53.99 MB / 477.5 MB, free: 23.32 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange4): time 0.005276/0.2857, allocations: 4.888 MB / 482.4 MB, free: 19.87 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003752/0.2895, allocations: 2.57 MB / 485 MB, free: 18.01 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004444/0.2899, allocations: 13.53 kB / 485 MB, free: 18.01 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000582/0.2905, allocations: 239.9 kB / 485.2 MB, free: 17.91 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006601/0.2912, allocations: 293 kB / 485.5 MB, free: 17.73 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.2923, allocations: 0.5423 MB / 486 MB, free: 17.4 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009398/0.2932, allocations: 1.026 MB / 487.1 MB, free: 16.87 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004612/0.2937, allocations: 336.5 kB / 487.4 MB, free: 16.64 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003961/0.2941, allocations: 403.2 kB / 487.8 MB, free: 16.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005641/0.2947, allocations: 464.5 kB / 488.2 MB, free: 16.2 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.2948, allocations: 109.1 kB / 488.3 MB, free: 16.2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004074/0.2952, allocations: 208.6 kB / 488.5 MB, free: 16.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002323/0.2954, allocations: 248.1 kB / 488.8 MB, free: 16.01 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003567/0.2958, allocations: 482.7 kB / 489.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001493/0.2973, allocations: 1.278 MB / 490.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2973, allocations: 0 / 490.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2973, allocations: 0 / 490.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.2973, allocations: 0 / 490.5 MB, free: 15.11 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.001923/0.2992, allocations: 1.318 MB / 491.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.2993, allocations: 17.86 kB / 491.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000119/0.2994, allocations: 113.9 kB / 492 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002219/0.2996, allocations: 108.7 kB / 492.1 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007864/0.3004, allocations: 0.6096 MB / 492.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.809e-05/0.3004, allocations: 55.91 kB / 492.8 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.161e-05/0.3005, allocations: 73.64 kB / 492.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.3018, allocations: 0.7126 MB / 493.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.3018, allocations: 2.266 kB / 493.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.433e-05/0.3018, allocations: 28.25 kB / 493.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.3019, allocations: 15.12 kB / 493.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.3029, allocations: 0.509 MB / 494.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003349/0.3063, allocations: 2.625 MB / 496.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000946/0.3072, allocations: 419.1 kB / 497.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003943/0.3076, allocations: 165.5 kB / 497.3 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.728e-05/0.3077, allocations: 5.359 kB / 497.3 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006054/0.3083, allocations: 273.5 kB / 497.6 MB, free: 10.87 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 2.074e-06/0.3083, allocations: 0 / 497.6 MB, free: 10.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.001702/0.31, allocations: 0.7417 MB / 498.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.283e-05/0.3101, allocations: 220.1 kB / 498.5 MB, free: 10.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.3111, allocations: 0.8097 MB / 499.3 MB, free: 9.883 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/0.3111, allocations: 32.77 kB / 499.4 MB, free: 9.848 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002531/0.3114, allocations: 413.1 kB / 499.8 MB, free: 9.523 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.364e-05/0.3115, allocations: 124.8 kB / 499.9 MB, free: 9.426 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/0.3116, allocations: 97.47 kB / 500 MB, free: 9.371 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3117, allocations: 382.6 kB / 0.4886 GB, free: 9.027 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004384/0.3122, allocations: 173.7 kB / 0.4888 GB, free: 8.965 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004855/0.3127, allocations: 301.1 kB / 0.4891 GB, free: 8.762 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008639/0.3135, allocations: 0.5733 MB / 0.4896 GB, free: 8.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3135, allocations: 1.156 kB / 0.4896 GB, free: 8.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001211/0.3147, allocations: 0.6648 MB / 0.4903 GB, free: 7.996 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.132e-05/0.3148, allocations: 96.91 kB / 0.4904 GB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.3148, allocations: 3.891 kB / 0.4904 GB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001626/0.315, allocations: 25.3 kB / 0.4904 GB, free: 7.883 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003716/0.3153, allocations: 94.2 kB / 0.4905 GB, free: 7.875 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007612/0.3161, allocations: 1.38 MB / 0.4919 GB, free: 6.461 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004751/0.3166, allocations: 86.88 kB / 0.4919 GB, free: 6.422 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.397e-05/0.3166, allocations: 25.16 kB / 0.492 GB, free: 6.414 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005694/0.3172, allocations: 365.8 kB / 0.4923 GB, free: 6.191 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004015/0.3176, allocations: 283.2 kB / 0.4926 GB, free: 5.961 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006949/0.3183, allocations: 0.5458 MB / 0.4931 GB, free: 5.516 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.625e-06/0.3183, allocations: 1.594 kB / 0.4931 GB, free: 5.516 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001009/0.3193, allocations: 0.6394 MB / 0.4937 GB, free: 5.125 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/0.3193, allocations: 95.23 kB / 0.4938 GB, free: 5.023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3193, allocations: 6.344 kB / 0.4938 GB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.582e-05/0.3194, allocations: 26.22 kB / 0.4939 GB, free: 5.004 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/0.3197, allocations: 99.88 kB / 0.494 GB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005908/0.3203, allocations: 1.381 MB / 0.4953 GB, free: 3.531 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004305/0.3208, allocations: 64.39 kB / 0.4954 GB, free: 3.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/0.3208, allocations: 19.62 kB / 0.4954 GB, free: 3.496 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.0001764/0.321, allocations: 287.8 kB / 0.4957 GB, free: 3.211 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.919e-05/0.3211, allocations: 74.5 kB / 0.4957 GB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.3221, allocations: 0.5329 MB / 0.4962 GB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.3221, allocations: 8.656 kB / 0.4963 GB, free: 2.832 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.3221, allocations: 0 / 0.4963 GB, free: 2.832 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.3221, allocations: 5.094 kB / 0.4963 GB, free: 2.828 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/0.3239, allocations: 1.302 MB / 0.4975 GB, free: 1.852 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.3239, allocations: 4 kB / 0.4975 GB, free: 1.848 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003042/0.3242, allocations: 68.05 kB / 0.4976 GB, free: 1.828 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.528e-05/0.3243, allocations: 22.69 kB / 0.4976 GB, free: 1.812 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.683e-05/0.3243, allocations: 8.156 kB / 0.4976 GB, free: 1.809 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005881/0.3249, allocations: 1.377 MB / 0.499 GB, free: 376 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3249, allocations: 5.453 kB / 0.499 GB, free: 372 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.3264, allocations: 0.8343 MB / 0.4998 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002549/0.3266, allocations: 196.7 kB / 0.5 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.6e-05/0.3267, allocations: 7.594 kB / 0.5 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003939/0.3271, allocations: 51.05 kB / 0.5 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.3272, allocations: 34.3 kB / 0.5001 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/0.3273, allocations: 7.656 kB / 0.5001 GB, free: 15.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007919/0.3281, allocations: 0.5724 MB / 0.5006 GB, free: 15.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3281, allocations: 0 / 0.5006 GB, free: 15.28 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001078/0.3291, allocations: 334.5 kB / 0.501 GB, free: 15.18 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.004287/0.3334, allocations: 1.925 MB / 0.5028 GB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002265/0.3357, allocations: 1.176 MB / 0.504 GB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.3357, allocations: 1.281 kB / 0.504 GB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006831/0.3364, allocations: 414.9 kB / 0.5044 GB, free: 12.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008026/0.3372, allocations: 128.3 kB / 0.5045 GB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/0.3485, allocations: 6.213 MB / 0.5106 GB, free: 7.449 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008339/0.3493, allocations: 0.9529 MB / 0.5115 GB, free: 6.469 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003755/0.3497, allocations: 84.56 kB / 0.5116 GB, free: 6.383 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004265/0.3501, allocations: 275.3 kB / 0.5118 GB, free: 6.113 MB / 382.1 MB Notification: Performance of SimCode: time 1.272e-06/0.3502, allocations: 0 / 0.5118 GB, free: 6.113 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05608/0.4062, allocations: 16.33 MB / 0.5278 GB, free: 5.824 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.29, allocations: 26.84 kB / 0.5278 GB, free: 5.801 MB / 398.1 MB (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange4.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange4.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange4.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestOneFlange4_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestOneFlange4.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange4.pipe 2>&1)