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.001191/0.001191, allocations: 108 kB / 15.58 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.001259/0.001259, allocations: 196.7 kB / 16.5 MB, free: 6.699 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.219/1.219, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.812/0.812, allocations: 8.003 MB / 298.3 MB, free: 2.371 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 59.91 kB / 360.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08584/0.08699, allocations: 51.2 MB / 411.8 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.005162/0.0922, allocations: 4.096 MB / 415.9 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.09426, allocations: 1.419 MB / 417.3 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002364/0.09453, allocations: 15.94 kB / 417.4 MB, free: 5.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003797/0.09492, allocations: 146.9 kB / 417.5 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004397/0.09537, allocations: 198.5 kB / 417.7 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005972/0.09598, allocations: 382.7 kB / 418.1 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007117/0.0967, allocations: 0.8296 MB / 418.9 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005262/0.09723, allocations: 454.4 kB / 419.3 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002825/0.09752, allocations: 318.9 kB / 419.6 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003307/0.09786, allocations: 362.4 kB / 420 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.923e-05/0.09797, allocations: 92 kB / 420.1 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.09814, allocations: 120 kB / 420.2 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001922/0.09834, allocations: 203.4 kB / 420.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000315/0.09866, allocations: 394.2 kB / 420.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007868/0.09946, allocations: 1.009 MB / 421.8 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.09947, allocations: 4 kB / 421.8 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.09948, allocations: 0 / 421.8 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.09949, allocations: 3.938 kB / 421.8 MB, free: 0.9609 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.1335/0.233, allocations: 1.098 MB / 422.9 MB, free: 44.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.2331, allocations: 9.531 kB / 422.9 MB, free: 44.3 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001036/0.2332, allocations: 107.7 kB / 423 MB, free: 44.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.2333, allocations: 80.31 kB / 423.1 MB, free: 44.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005691/0.2339, allocations: 0.494 MB / 423.6 MB, free: 43.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.954e-05/0.234, allocations: 47.56 kB / 423.6 MB, free: 43.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.81e-05/0.2341, allocations: 64 kB / 423.7 MB, free: 43.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.2351, allocations: 0.6467 MB / 424.4 MB, free: 43.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.2351, allocations: 15.11 kB / 424.4 MB, free: 43.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.255e-05/0.2352, allocations: 26.88 kB / 424.4 MB, free: 43.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.2352, allocations: 14.59 kB / 424.4 MB, free: 43.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009196/0.2361, allocations: 479.4 kB / 424.9 MB, free: 43.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002606/0.2388, allocations: 2.518 MB / 427.4 MB, free: 42.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008015/0.2396, allocations: 416.7 kB / 427.8 MB, free: 42.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003472/0.2399, allocations: 172.8 kB / 428 MB, free: 42.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.237e-05/0.24, allocations: 11.45 kB / 428 MB, free: 42.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004944/0.2405, allocations: 259.3 kB / 428.2 MB, free: 42.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.533e-06/0.2405, allocations: 0 / 428.2 MB, free: 42.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001332/0.2418, allocations: 0.6738 MB / 428.9 MB, free: 41.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.2419, allocations: 135.3 kB / 429 MB, free: 41.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004505/0.2423, allocations: 0.5631 MB / 429.6 MB, free: 41.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.2424, allocations: 36.92 kB / 429.6 MB, free: 41.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.2425, allocations: 340.7 kB / 430 MB, free: 41.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.987e-05/0.2426, allocations: 109.1 kB / 430.1 MB, free: 40.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.2427, allocations: 76.97 kB / 430.2 MB, free: 40.94 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.467e-05/0.2428, allocations: 367.4 kB / 430.5 MB, free: 40.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003538/0.2431, allocations: 160.9 kB / 430.7 MB, free: 40.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003762/0.2435, allocations: 256 kB / 430.9 MB, free: 40.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007186/0.2442, allocations: 0.5295 MB / 431.4 MB, free: 40 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.2443, allocations: 0 / 431.4 MB, free: 40 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009387/0.2452, allocations: 0.5902 MB / 432 MB, free: 39.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.555e-05/0.2453, allocations: 94.11 kB / 432.1 MB, free: 39.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2453, allocations: 3.219 kB / 432.1 MB, free: 39.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001259/0.2454, allocations: 25.06 kB / 432.2 MB, free: 39.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.2457, allocations: 79.52 kB / 432.2 MB, free: 39.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000612/0.2463, allocations: 1.397 MB / 433.6 MB, free: 38.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003661/0.2467, allocations: 71.92 kB / 433.7 MB, free: 38.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/0.2467, allocations: 23.12 kB / 433.7 MB, free: 38.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004321/0.2472, allocations: 313.6 kB / 434 MB, free: 37.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003278/0.2475, allocations: 240 kB / 434.3 MB, free: 37.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006222/0.2482, allocations: 0.5115 MB / 434.8 MB, free: 37.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.542e-06/0.2482, allocations: 1.875 kB / 434.8 MB, free: 37.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008466/0.249, allocations: 0.5683 MB / 435.3 MB, free: 37.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.2491, allocations: 90.86 kB / 435.4 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.2491, allocations: 3.625 kB / 435.4 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.184e-05/0.2491, allocations: 28.22 kB / 435.5 MB, free: 37.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002646/0.2494, allocations: 77.88 kB / 435.5 MB, free: 37.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005268/0.2499, allocations: 1.39 MB / 436.9 MB, free: 35.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003494/0.2503, allocations: 63.05 kB / 437 MB, free: 35.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/0.2503, allocations: 16.91 kB / 437 MB, free: 35.6 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.0001127/0.2505, allocations: 265.8 kB / 437.3 MB, free: 35.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.118e-05/0.2505, allocations: 54.78 kB / 437.3 MB, free: 35.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008881/0.2514, allocations: 0.4979 MB / 437.8 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2514, allocations: 3.156 kB / 437.8 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.2514, allocations: 0 / 437.8 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2514, allocations: 0 / 437.8 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/0.2527, allocations: 1.138 MB / 439 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2528, allocations: 3.422 kB / 439 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002673/0.253, allocations: 52.14 kB / 439 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.098e-05/0.2531, allocations: 25.16 kB / 439 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.2531, allocations: 14.62 kB / 439.1 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005338/0.2537, allocations: 1.386 MB / 440.4 MB, free: 32.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2537, allocations: 0 / 440.4 MB, free: 32.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.2549, allocations: 0.7594 MB / 441.2 MB, free: 32.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.642e-05/0.255, allocations: 139.9 kB / 441.3 MB, free: 32.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.711e-05/0.255, allocations: 10.5 kB / 441.3 MB, free: 32.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/0.2554, allocations: 46.97 kB / 441.4 MB, free: 32.42 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.057e-05/0.2555, allocations: 30.92 kB / 441.4 MB, free: 32.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.2555, allocations: 10.28 kB / 441.4 MB, free: 32.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003189/0.2558, allocations: 413.6 kB / 441.8 MB, free: 32.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2559, allocations: 0 / 441.8 MB, free: 32.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006035/0.2565, allocations: 265 kB / 442.1 MB, free: 32.16 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.002051/0.2585, allocations: 1.561 MB / 443.7 MB, free: 31.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00147/0.26, allocations: 1.172 MB / 444.8 MB, free: 30.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.26, allocations: 0 / 444.8 MB, free: 30.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004801/0.2605, allocations: 426 kB / 445.2 MB, free: 30.08 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005027/0.261, allocations: 97.61 kB / 445.3 MB, free: 30.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006016/0.267, allocations: 5.5 MB / 450.8 MB, free: 26.88 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.2673, allocations: 0.8956 MB / 451.7 MB, free: 26.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001808/0.2675, allocations: 64.89 kB / 451.8 MB, free: 26.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002138/0.2677, allocations: 208.9 kB / 452 MB, free: 25.98 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2677, allocations: 0 / 452 MB, free: 25.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.649/1.917, allocations: 12.49 MB / 464.5 MB, free: 24.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 24.49/26.41, allocations: 11.11 kB / 464.5 MB, free: 24.65 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)