Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_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_main_EHPTlib_MapBased_TestingModels_TestOneFlange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestOneFlange,fileNamePrefix="EHPTlib_main_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.001188/0.001188, allocations: 108 kB / 15.59 MB, free: 184 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 196.4 kB / 16.51 MB, free: 6.719 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.214/1.214, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1374/0.1374, allocations: 8.015 MB / 298.4 MB, free: 2.426 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 51.91 kB / 360.7 MB, free: 14.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07752/0.07863, allocations: 51.2 MB / 411.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.004938/0.08361, allocations: 4.11 MB / 416 MB, free: 6.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.08541, allocations: 1.415 MB / 417.4 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001975/0.08562, allocations: 12 kB / 417.4 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000333/0.08596, allocations: 158.8 kB / 417.5 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003817/0.08635, allocations: 190.5 kB / 417.7 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005469/0.08691, allocations: 382.7 kB / 418.1 MB, free: 4.676 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006512/0.08757, allocations: 0.8296 MB / 418.9 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004927/0.08807, allocations: 454.4 kB / 419.4 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002542/0.08834, allocations: 318.9 kB / 419.7 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003145/0.08866, allocations: 358.4 kB / 420 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.879e-05/0.08876, allocations: 92 kB / 420.1 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001654/0.08893, allocations: 124 kB / 420.3 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001672/0.08911, allocations: 199.4 kB / 420.4 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003058/0.08942, allocations: 398.1 kB / 420.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007709/0.0902, allocations: 1.009 MB / 421.8 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.09021, allocations: 0 / 421.8 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.09022, allocations: 0 / 421.8 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.09023, allocations: 0 / 421.8 MB, free: 0.9141 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.1332/0.2235, allocations: 1.108 MB / 423 MB, free: 44.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.2235, allocations: 10.56 kB / 423 MB, free: 44.53 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.139e-05/0.2236, allocations: 104.7 kB / 423.1 MB, free: 44.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.2237, allocations: 79.19 kB / 423.1 MB, free: 44.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005197/0.2242, allocations: 0.494 MB / 423.6 MB, free: 44.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.33e-05/0.2243, allocations: 47.05 kB / 423.7 MB, free: 44.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.3e-05/0.2244, allocations: 64.55 kB / 423.7 MB, free: 44.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009759/0.2254, allocations: 0.6515 MB / 424.4 MB, free: 44.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.2254, allocations: 9.344 kB / 424.4 MB, free: 44.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.957e-05/0.2254, allocations: 28.5 kB / 424.4 MB, free: 44.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.2255, allocations: 14.38 kB / 424.4 MB, free: 44.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008906/0.2264, allocations: 480.8 kB / 424.9 MB, free: 44.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002491/0.2289, allocations: 2.514 MB / 427.4 MB, free: 42.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007347/0.2296, allocations: 418.1 kB / 427.8 MB, free: 42.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003194/0.2299, allocations: 174.5 kB / 428 MB, free: 42.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.23, allocations: 12.33 kB / 428 MB, free: 42.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004762/0.2305, allocations: 250.6 kB / 428.3 MB, free: 42.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.533e-06/0.2305, allocations: 2.906 kB / 428.3 MB, free: 42.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.00124/0.2317, allocations: 0.6752 MB / 428.9 MB, free: 42.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.2318, allocations: 138.7 kB / 429.1 MB, free: 41.85 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004572/0.2322, allocations: 0.5665 MB / 429.6 MB, free: 41.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.2323, allocations: 34.39 kB / 429.7 MB, free: 41.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.2324, allocations: 339.7 kB / 430 MB, free: 41.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.327e-05/0.2325, allocations: 104.7 kB / 430.1 MB, free: 41.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.569e-05/0.2326, allocations: 80.3 kB / 430.2 MB, free: 41.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.775e-05/0.2326, allocations: 364.2 kB / 430.5 MB, free: 40.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003337/0.233, allocations: 163.2 kB / 430.7 MB, free: 40.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000348/0.2333, allocations: 254.5 kB / 431 MB, free: 40.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006627/0.234, allocations: 0.5298 MB / 431.5 MB, free: 40.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.234, allocations: 0 / 431.5 MB, free: 40.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008839/0.2349, allocations: 0.5902 MB / 432.1 MB, free: 39.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.302e-05/0.2349, allocations: 98.27 kB / 432.2 MB, free: 39.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2349, allocations: 3.438 kB / 432.2 MB, free: 39.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001204/0.2351, allocations: 23.61 kB / 432.2 MB, free: 39.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000281/0.2354, allocations: 80.36 kB / 432.3 MB, free: 39.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005763/0.2359, allocations: 1.388 MB / 433.7 MB, free: 38.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003577/0.2363, allocations: 79.98 kB / 433.7 MB, free: 38.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/0.2363, allocations: 22.25 kB / 433.8 MB, free: 38.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004115/0.2368, allocations: 315.6 kB / 434.1 MB, free: 38.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003075/0.2371, allocations: 240 kB / 434.3 MB, free: 38.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005872/0.2377, allocations: 0.5153 MB / 434.8 MB, free: 37.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.643e-06/0.2377, allocations: 0 / 434.8 MB, free: 37.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008013/0.2385, allocations: 0.5591 MB / 435.4 MB, free: 37.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.2385, allocations: 91.92 kB / 435.5 MB, free: 37.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.2385, allocations: 4.453 kB / 435.5 MB, free: 37.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.078e-05/0.2386, allocations: 29.38 kB / 435.5 MB, free: 37.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.2389, allocations: 77.56 kB / 435.6 MB, free: 37.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004984/0.2394, allocations: 1.388 MB / 437 MB, free: 35.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003424/0.2397, allocations: 61.95 kB / 437 MB, free: 35.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.2398, allocations: 24.23 kB / 437.1 MB, free: 35.82 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.0001041/0.2399, allocations: 265.6 kB / 437.3 MB, free: 35.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.52e-05/0.2399, allocations: 46.56 kB / 437.4 MB, free: 35.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008513/0.2408, allocations: 0.4991 MB / 437.9 MB, free: 35.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.2408, allocations: 3.156 kB / 437.9 MB, free: 35.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.2408, allocations: 0 / 437.9 MB, free: 35.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2408, allocations: 6.5 kB / 437.9 MB, free: 35.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.2421, allocations: 1.143 MB / 439 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2421, allocations: 0 / 439 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002642/0.2424, allocations: 55.33 kB / 439.1 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.247e-05/0.2424, allocations: 21.52 kB / 439.1 MB, free: 34.63 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/0.2425, allocations: 10.5 kB / 439.1 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005031/0.243, allocations: 1.378 MB / 440.5 MB, free: 33.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.243, allocations: 0 / 440.5 MB, free: 33.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.2442, allocations: 0.762 MB / 441.2 MB, free: 32.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-05/0.2443, allocations: 145.4 kB / 441.4 MB, free: 32.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.387e-05/0.2443, allocations: 7.125 kB / 441.4 MB, free: 32.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003405/0.2447, allocations: 44.8 kB / 441.4 MB, free: 32.65 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.55e-05/0.2448, allocations: 36.27 kB / 441.5 MB, free: 32.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.2448, allocations: 13.75 kB / 441.5 MB, free: 32.63 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003151/0.2451, allocations: 412.1 kB / 441.9 MB, free: 32.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2451, allocations: 0 / 441.9 MB, free: 32.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005805/0.2457, allocations: 265.1 kB / 442.1 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,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.00195/0.2477, allocations: 1.556 MB / 443.7 MB, free: 31.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001427/0.2491, allocations: 1.183 MB / 444.9 MB, free: 30.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2491, allocations: 4.062 kB / 444.9 MB, free: 30.6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004603/0.2496, allocations: 421.2 kB / 445.3 MB, free: 30.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004799/0.2501, allocations: 98.86 kB / 445.4 MB, free: 30.26 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005822/0.2559, allocations: 5.442 MB / 450.8 MB, free: 27.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.2561, allocations: 0.8896 MB / 451.7 MB, free: 26.4 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000199/0.2563, allocations: 68 kB / 451.8 MB, free: 26.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.2566, allocations: 210 kB / 452 MB, free: 26.22 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2566, allocations: 0 / 452 MB, free: 26.22 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5442/0.8008, allocations: 12.47 MB / 464.5 MB, free: 24.9 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 25.19/25.99, allocations: 4.891 kB / 464.5 MB, free: 24.9 MB / 350.1 MB (rm -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; mkfifo EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe >> ../files/EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_main_EHPTlib_MapBased_TestingModels_TestOneFlange_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 EHPTlib_main_EHPTlib_MapBased_TestingModels_TestOneFlange.fmu > EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe 2>&1)