Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.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.TestOneFlangeConn,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestOneFlangeConn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestOneFlangeConn,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestOneFlangeConn",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.001225/0.001225, allocations: 107.3 kB / 15.33 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.001204/0.001204, allocations: 192.3 kB / 16.25 MB, free: 6.145 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.295/1.295, allocations: 222.9 MB / 239.9 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1408/0.1408, allocations: 8.024 MB / 298.1 MB, free: 2.441 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001163, allocations: 59.91 kB / 360.2 MB, free: 14.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09997/0.1011, allocations: 51.19 MB / 411.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.005545/0.1067, allocations: 4.161 MB / 415.6 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002425/0.1092, allocations: 1.391 MB / 417 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000304/0.1095, allocations: 15.94 kB / 417 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004297/0.1099, allocations: 119.3 kB / 417.1 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004816/0.1105, allocations: 155 kB / 417.3 MB, free: 5.434 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006846/0.1112, allocations: 347.2 kB / 417.6 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007392/0.1119, allocations: 0.8456 MB / 418.4 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006122/0.1125, allocations: 491.6 kB / 418.9 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003168/0.1129, allocations: 326.8 kB / 419.2 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003719/0.1132, allocations: 366.4 kB / 419.6 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001183/0.1134, allocations: 96 kB / 419.7 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002088/0.1136, allocations: 136 kB / 419.8 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002146/0.1138, allocations: 199.4 kB / 420 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003635/0.1142, allocations: 414 kB / 420.4 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009759/0.1152, allocations: 1.024 MB / 421.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1152, allocations: 3.938 kB / 421.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.1152, allocations: 0 / 421.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.1152, allocations: 3.938 kB / 421.5 MB, free: 1.203 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.00176/0.117, allocations: 1.12 MB / 422.6 MB, free: 16 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.117, allocations: 8.031 kB / 422.6 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.1848/0.3018, allocations: 105.1 kB / 422.7 MB, free: 44.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.302, allocations: 81.94 kB / 422.8 MB, free: 44.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006639/0.3027, allocations: 0.5033 MB / 423.3 MB, free: 44.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.278e-05/0.3028, allocations: 47.88 kB / 423.3 MB, free: 44.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.305e-05/0.3029, allocations: 67.48 kB / 423.4 MB, free: 44.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.304, allocations: 0.6711 MB / 424.1 MB, free: 44.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.3041, allocations: 7.844 kB / 424.1 MB, free: 44.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.943e-05/0.3041, allocations: 31.5 kB / 424.1 MB, free: 44.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.3041, allocations: 17.34 kB / 424.1 MB, free: 44.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009886/0.3051, allocations: 492.6 kB / 424.6 MB, free: 44.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002979/0.3081, allocations: 2.586 MB / 427.2 MB, free: 42.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008146/0.309, allocations: 423.5 kB / 427.6 MB, free: 42.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003371/0.3093, allocations: 166.9 kB / 427.8 MB, free: 42.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.587e-05/0.3094, allocations: 9.719 kB / 427.8 MB, free: 42.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000563/0.3099, allocations: 253.8 kB / 428 MB, free: 42.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.505e-06/0.3099, allocations: 2.844 kB / 428 MB, free: 42.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001374/0.3113, allocations: 0.6859 MB / 428.7 MB, free: 42.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.3114, allocations: 138.3 kB / 428.8 MB, free: 41.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004831/0.3119, allocations: 0.5625 MB / 429.4 MB, free: 41.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.3119, allocations: 32.64 kB / 429.4 MB, free: 41.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.3121, allocations: 349.4 kB / 429.8 MB, free: 41.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.96e-05/0.3121, allocations: 109.1 kB / 429.9 MB, free: 41.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.3122, allocations: 81.38 kB / 430 MB, free: 41.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.738e-05/0.3123, allocations: 360.2 kB / 430.3 MB, free: 40.87 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003665/0.3127, allocations: 161.9 kB / 430.5 MB, free: 40.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003949/0.3131, allocations: 259.2 kB / 430.7 MB, free: 40.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007147/0.3138, allocations: 0.5269 MB / 431.2 MB, free: 40.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.3139, allocations: 0 / 431.2 MB, free: 40.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009586/0.3148, allocations: 0.5921 MB / 431.8 MB, free: 39.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.057e-05/0.3149, allocations: 94.22 kB / 431.9 MB, free: 39.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3149, allocations: 3.375 kB / 431.9 MB, free: 39.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001362/0.315, allocations: 29.03 kB / 432 MB, free: 39.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002952/0.3153, allocations: 79.44 kB / 432 MB, free: 39.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000668/0.316, allocations: 1.381 MB / 433.4 MB, free: 38.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003952/0.3164, allocations: 87.11 kB / 433.5 MB, free: 38.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/0.3165, allocations: 20.34 kB / 433.5 MB, free: 38.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004413/0.3169, allocations: 313.7 kB / 433.8 MB, free: 38.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003281/0.3172, allocations: 245.2 kB / 434.1 MB, free: 38.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006332/0.3179, allocations: 0.521 MB / 434.6 MB, free: 37.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.736e-06/0.3179, allocations: 3.25 kB / 434.6 MB, free: 37.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008646/0.3188, allocations: 0.5592 MB / 435.2 MB, free: 37.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/0.3188, allocations: 89.42 kB / 435.2 MB, free: 37.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3188, allocations: 7.031 kB / 435.3 MB, free: 37.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.34e-05/0.3189, allocations: 33.58 kB / 435.3 MB, free: 37.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.3192, allocations: 70.59 kB / 435.4 MB, free: 37.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006228/0.3198, allocations: 1.382 MB / 436.7 MB, free: 35.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003826/0.3202, allocations: 58.59 kB / 436.8 MB, free: 35.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.3202, allocations: 23.94 kB / 436.8 MB, free: 35.85 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 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,oneFlangeConn.limTau.state,$whenCondition1,oneFlangeConn.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.0001588/0.3204, allocations: 263.7 kB / 437.1 MB, free: 35.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.984e-05/0.3205, allocations: 56.34 kB / 437.1 MB, free: 35.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009673/0.3215, allocations: 0.4932 MB / 437.6 MB, free: 35.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3215, allocations: 3.25 kB / 437.6 MB, free: 35.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.3215, allocations: 3.219 kB / 437.6 MB, free: 35.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.3215, allocations: 0 / 437.6 MB, free: 35.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.3231, allocations: 1.144 MB / 438.8 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.3231, allocations: 4.359 kB / 438.8 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002655/0.3234, allocations: 53.92 kB / 438.8 MB, free: 34.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.46e-05/0.3234, allocations: 21.92 kB / 438.9 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.177e-05/0.3235, allocations: 10.78 kB / 438.9 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000564/0.324, allocations: 1.387 MB / 440.2 MB, free: 33.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3241, allocations: 0.7031 kB / 440.3 MB, free: 33.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.3253, allocations: 0.7684 MB / 441 MB, free: 32.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.314e-05/0.3254, allocations: 142.4 kB / 441.2 MB, free: 32.67 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.359e-05/0.3255, allocations: 7.375 kB / 441.2 MB, free: 32.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003613/0.3259, allocations: 45 kB / 441.2 MB, free: 32.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.326, allocations: 31.39 kB / 441.2 MB, free: 32.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/0.326, allocations: 13.84 kB / 441.3 MB, free: 32.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004162/0.3264, allocations: 410.3 kB / 441.7 MB, free: 32.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.3265, allocations: 1.969 kB / 441.7 MB, free: 32.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007546/0.3272, allocations: 273.9 kB / 441.9 MB, free: 32.39 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,oneFlangeConn.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,oneFlangeConn.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,oneFlangeConn.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.002181/0.3294, allocations: 1.558 MB / 443.5 MB, free: 31.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001635/0.331, allocations: 1.186 MB / 444.7 MB, free: 30.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3311, allocations: 4.062 kB / 444.7 MB, free: 30.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000496/0.3316, allocations: 431.4 kB / 445.1 MB, free: 30.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005531/0.3321, allocations: 88.45 kB / 445.2 MB, free: 30.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00679/0.3389, allocations: 5.712 MB / 450.9 MB, free: 26.87 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.3393, allocations: 0.894 MB / 451.8 MB, free: 26.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002533/0.3395, allocations: 66.02 kB / 451.8 MB, free: 26.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002385/0.3398, allocations: 213.5 kB / 452.1 MB, free: 25.97 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3398, allocations: 0 / 452.1 MB, free: 25.97 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02659/0.3664, allocations: 12.29 MB / 464.3 MB, free: 24.71 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001328/0.3665, allocations: 258.2 kB / 464.6 MB, free: 24.46 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.005/2.372, allocations: 0 / 464.6 MB, free: 24.46 MB / 350.1 MB (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_MapBased_TestingModels_TestOneFlangeConn_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 EHPTlib_EHPTlib_MapBased_TestingModels_TestOneFlangeConn.fmu > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe 2>&1)