Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_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_EHPTlib_MapBased_TestingModels_TestOneFlange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestOneFlange,fileNamePrefix="EHPTlib_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.001159/0.001159, allocations: 111.3 kB / 15.34 MB, free: 0.5078 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.001182/0.001182, allocations: 191.2 kB / 16.25 MB, free: 6.625 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.27/1.27, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.17/0.17, allocations: 8.03 MB / 298.1 MB, free: 2.414 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 68.05 kB / 360.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0979/0.09911, allocations: 51.19 MB / 411.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.005335/0.1045, allocations: 4.126 MB / 415.6 MB, free: 7.168 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002426/0.1069, allocations: 1.376 MB / 416.9 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002766/0.1072, allocations: 19.94 kB / 417 MB, free: 5.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004055/0.1076, allocations: 119.3 kB / 417.1 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004919/0.1082, allocations: 163 kB / 417.2 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006986/0.1089, allocations: 355.2 kB / 417.6 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007473/0.1097, allocations: 0.8335 MB / 418.4 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005707/0.1102, allocations: 446.5 kB / 418.8 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000343/0.1106, allocations: 314.9 kB / 419.2 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003353/0.1109, allocations: 350.5 kB / 419.5 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.111, allocations: 92 kB / 419.6 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.1112, allocations: 139.9 kB / 419.7 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001964/0.1114, allocations: 191.4 kB / 419.9 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003146/0.1118, allocations: 410 kB / 420.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009281/0.1127, allocations: 1.001 MB / 421.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.1127, allocations: 3.938 kB / 421.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1127, allocations: 4 kB / 421.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.1127, allocations: 0 / 421.3 MB, free: 1.383 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.001804/0.1145, allocations: 1.102 MB / 422.4 MB, free: 212 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.1146, allocations: 8.031 kB / 422.4 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001343/0.1147, allocations: 110.7 kB / 422.5 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.1149, allocations: 80 kB / 422.6 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1807/0.2956, allocations: 0.4931 MB / 423.1 MB, free: 44.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.782e-05/0.2957, allocations: 50.52 kB / 423.2 MB, free: 44.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.2958, allocations: 67 kB / 423.2 MB, free: 44.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.297, allocations: 0.6475 MB / 423.9 MB, free: 44.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.297, allocations: 4.75 kB / 423.9 MB, free: 44.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.348e-05/0.2971, allocations: 29.05 kB / 423.9 MB, free: 44.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.2971, allocations: 15.03 kB / 423.9 MB, free: 44.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009607/0.2981, allocations: 482.4 kB / 424.4 MB, free: 44.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003032/0.3011, allocations: 2.51 MB / 426.9 MB, free: 43.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008223/0.302, allocations: 423.3 kB / 427.3 MB, free: 42.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003598/0.3023, allocations: 171.2 kB / 427.5 MB, free: 42.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.216e-05/0.3024, allocations: 6.391 kB / 427.5 MB, free: 42.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005616/0.3029, allocations: 252.4 kB / 427.7 MB, free: 42.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.284e-06/0.303, allocations: 1.75 kB / 427.7 MB, free: 42.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001432/0.3044, allocations: 0.685 MB / 428.4 MB, free: 42.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.3045, allocations: 142.4 kB / 428.6 MB, free: 42.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005059/0.305, allocations: 0.5639 MB / 429.1 MB, free: 41.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.305, allocations: 32.77 kB / 429.2 MB, free: 41.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.3052, allocations: 338.6 kB / 429.5 MB, free: 41.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.434e-05/0.3053, allocations: 109.5 kB / 429.6 MB, free: 41.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.3054, allocations: 72.67 kB / 429.7 MB, free: 41.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.625e-05/0.3055, allocations: 363.8 kB / 430 MB, free: 41.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003583/0.3058, allocations: 160.1 kB / 430.2 MB, free: 41.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003686/0.3062, allocations: 254.7 kB / 430.4 MB, free: 40.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007068/0.3069, allocations: 0.5287 MB / 431 MB, free: 40.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.3069, allocations: 0 / 431 MB, free: 40.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009621/0.3079, allocations: 0.6022 MB / 431.6 MB, free: 40.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.355e-05/0.308, allocations: 86.95 kB / 431.6 MB, free: 40.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.308, allocations: 3.188 kB / 431.6 MB, free: 40.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001548/0.3081, allocations: 25.81 kB / 431.7 MB, free: 40.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003016/0.3085, allocations: 80.84 kB / 431.7 MB, free: 40.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007342/0.3092, allocations: 1.381 MB / 433.1 MB, free: 38.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004052/0.3096, allocations: 84.67 kB / 433.2 MB, free: 38.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.219e-05/0.3097, allocations: 12.72 kB / 433.2 MB, free: 38.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000458/0.3101, allocations: 315.1 kB / 433.5 MB, free: 38.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003325/0.3105, allocations: 246.4 kB / 433.8 MB, free: 38.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006337/0.3111, allocations: 0.5192 MB / 434.3 MB, free: 37.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.325e-06/0.3111, allocations: 6.25 kB / 434.3 MB, free: 37.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0009669/0.3121, allocations: 0.5588 MB / 434.9 MB, free: 37.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.326e-05/0.3121, allocations: 89.84 kB / 434.9 MB, free: 37.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.3122, allocations: 7.25 kB / 434.9 MB, free: 37.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.009e-05/0.3123, allocations: 28.45 kB / 435 MB, free: 37.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003647/0.3126, allocations: 78.36 kB / 435.1 MB, free: 37.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000662/0.3133, allocations: 1.377 MB / 436.4 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003968/0.3137, allocations: 67.3 kB / 436.5 MB, free: 36.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/0.3138, allocations: 19.28 kB / 436.5 MB, free: 36.11 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.0001893/0.314, allocations: 272.6 kB / 436.8 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.899e-05/0.314, allocations: 52.22 kB / 436.8 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009495/0.315, allocations: 0.4884 MB / 437.3 MB, free: 35.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.315, allocations: 3.312 kB / 437.3 MB, free: 35.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.315, allocations: 3.938 kB / 437.3 MB, free: 35.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.315, allocations: 7.109 kB / 437.3 MB, free: 35.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.3165, allocations: 1.134 MB / 438.5 MB, free: 34.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3165, allocations: 0 / 438.5 MB, free: 34.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002712/0.3168, allocations: 58.09 kB / 438.5 MB, free: 34.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.082e-05/0.3169, allocations: 22.08 kB / 438.5 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.3169, allocations: 11.28 kB / 438.6 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006151/0.3175, allocations: 1.376 MB / 439.9 MB, free: 33.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3175, allocations: 3.938 kB / 439.9 MB, free: 33.49 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/0.3188, allocations: 0.7711 MB / 440.7 MB, free: 33.06 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.046e-05/0.3189, allocations: 128.5 kB / 440.8 MB, free: 32.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.729e-05/0.3189, allocations: 18.66 kB / 440.9 MB, free: 32.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003609/0.3193, allocations: 44.98 kB / 440.9 MB, free: 32.92 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.3194, allocations: 31.52 kB / 440.9 MB, free: 32.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.587e-05/0.3195, allocations: 9.688 kB / 440.9 MB, free: 32.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004351/0.3199, allocations: 409.3 kB / 441.3 MB, free: 32.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3199, allocations: 0 / 441.3 MB, free: 32.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007154/0.3206, allocations: 265.3 kB / 441.6 MB, free: 32.66 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.002204/0.3228, allocations: 1.565 MB / 443.2 MB, free: 31.69 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001701/0.3246, allocations: 1.18 MB / 444.3 MB, free: 30.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3246, allocations: 10.97 kB / 444.4 MB, free: 30.88 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005164/0.3251, allocations: 429.2 kB / 444.8 MB, free: 30.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005667/0.3257, allocations: 86.3 kB / 444.9 MB, free: 30.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006708/0.3324, allocations: 5.692 MB / 450.5 MB, free: 27.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.3327, allocations: 0.8876 MB / 451.4 MB, free: 26.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000241/0.333, allocations: 64 kB / 451.5 MB, free: 26.42 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002491/0.3332, allocations: 209.2 kB / 451.7 MB, free: 26.26 MB / 350.1 MB Notification: Performance of SimCode: time 8.81e-07/0.3332, allocations: 0 / 451.7 MB, free: 26.26 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02889/0.3621, allocations: 12.21 MB / 463.9 MB, free: 25.03 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001443/0.3623, allocations: 253.2 kB / 464.2 MB, free: 24.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.982/2.344, allocations: 5.094 kB / 464.2 MB, free: 24.77 MB / 350.1 MB (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_MapBased_TestingModels_TestOneFlange_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 EHPTlib_EHPTlib_MapBased_TestingModels_TestOneFlange.fmu > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe 2>&1)