Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_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_main_EHPTlib_MapBased_TestingModels_TestOneFlangeConn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestOneFlangeConn,fileNamePrefix="EHPTlib_main_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.001046/0.001046, 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.001116/0.001116, allocations: 197.6 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.187/1.187, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1348/0.1348, allocations: 8.033 MB / 298.4 MB, free: 2.422 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001078/0.001078, allocations: 63.91 kB / 360.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07889/0.07998, allocations: 51.19 MB / 411.8 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.004955/0.08497, allocations: 4.134 MB / 416 MB, free: 6.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.0868, allocations: 1.418 MB / 417.4 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002039/0.08702, allocations: 15.94 kB / 417.4 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003229/0.08735, allocations: 150.8 kB / 417.6 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003918/0.08776, allocations: 194.5 kB / 417.7 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000546/0.08831, allocations: 398.7 kB / 418.1 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006323/0.08896, allocations: 0.8456 MB / 419 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005602/0.08952, allocations: 495.5 kB / 419.5 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002608/0.08979, allocations: 319 kB / 419.8 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003083/0.09011, allocations: 366.4 kB / 420.1 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.09022, allocations: 100 kB / 420.2 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.09039, allocations: 120 kB / 420.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001765/0.09057, allocations: 219.3 kB / 420.6 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003005/0.09088, allocations: 402.1 kB / 421 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007497/0.09163, allocations: 1.028 MB / 422 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.09165, allocations: 4 kB / 422 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.09165, allocations: 0 / 422 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.09167, allocations: 0 / 422 MB, free: 0.7773 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.1257/0.2174, allocations: 1.115 MB / 423.1 MB, free: 44.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.2174, allocations: 8.938 kB / 423.1 MB, free: 44.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.76e-05/0.2175, allocations: 110.1 kB / 423.2 MB, free: 44.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.2176, allocations: 82.25 kB / 423.3 MB, free: 44.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005546/0.2182, allocations: 0.5088 MB / 423.8 MB, free: 44.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.503e-05/0.2183, allocations: 45.38 kB / 423.9 MB, free: 44.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.648e-05/0.2183, allocations: 67.88 kB / 423.9 MB, free: 44.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.2194, allocations: 0.6675 MB / 424.6 MB, free: 44.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.2194, allocations: 7.688 kB / 424.6 MB, free: 44.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.705e-05/0.2195, allocations: 31.97 kB / 424.6 MB, free: 44.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.2195, allocations: 14.69 kB / 424.6 MB, free: 44.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009291/0.2204, allocations: 493.9 kB / 425.1 MB, free: 44.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002731/0.2232, allocations: 2.58 MB / 427.7 MB, free: 42.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007445/0.2239, allocations: 423.8 kB / 428.1 MB, free: 42.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003153/0.2242, allocations: 177.3 kB / 428.3 MB, free: 42.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.451e-05/0.2243, allocations: 6.5 kB / 428.3 MB, free: 42.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004527/0.2247, allocations: 257.1 kB / 428.5 MB, free: 42.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.403e-06/0.2248, allocations: 0.5312 kB / 428.5 MB, free: 42.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001259/0.226, allocations: 0.6776 MB / 429.2 MB, free: 41.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.2261, allocations: 142.5 kB / 429.4 MB, free: 41.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004791/0.2266, allocations: 0.5665 MB / 429.9 MB, free: 41.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.2266, allocations: 38.45 kB / 430 MB, free: 41.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.2267, allocations: 351.6 kB / 430.3 MB, free: 41.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.67e-05/0.2268, allocations: 103.6 kB / 430.4 MB, free: 41.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.722e-05/0.2269, allocations: 72.2 kB / 430.5 MB, free: 41.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.976e-05/0.227, allocations: 365.3 kB / 430.8 MB, free: 40.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003328/0.2273, allocations: 162.2 kB / 431 MB, free: 40.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003506/0.2277, allocations: 256.8 kB / 431.3 MB, free: 40.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006646/0.2283, allocations: 0.5299 MB / 431.8 MB, free: 40.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.2283, allocations: 3.125 kB / 431.8 MB, free: 40.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008835/0.2292, allocations: 0.5917 MB / 432.4 MB, free: 39.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.2293, allocations: 90.3 kB / 432.5 MB, free: 39.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2293, allocations: 6.406 kB / 432.5 MB, free: 39.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001242/0.2294, allocations: 25.95 kB / 432.5 MB, free: 39.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/0.2297, allocations: 81.72 kB / 432.6 MB, free: 39.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005815/0.2303, allocations: 1.389 MB / 434 MB, free: 38.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003607/0.2307, allocations: 69.36 kB / 434 MB, free: 38.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.2307, allocations: 22.88 kB / 434.1 MB, free: 38.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000416/0.2311, allocations: 318.8 kB / 434.4 MB, free: 38.1 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003083/0.2315, allocations: 240.3 kB / 434.6 MB, free: 37.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005976/0.2321, allocations: 0.5237 MB / 435.1 MB, free: 37.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/0.2321, allocations: 4 kB / 435.1 MB, free: 37.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008207/0.2329, allocations: 0.5582 MB / 435.7 MB, free: 37.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.2329, allocations: 93.97 kB / 435.8 MB, free: 37.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.2329, allocations: 3.156 kB / 435.8 MB, free: 37.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.158e-05/0.233, allocations: 25.3 kB / 435.8 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.2333, allocations: 73.09 kB / 435.9 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005096/0.2338, allocations: 1.388 MB / 437.3 MB, free: 35.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003448/0.2342, allocations: 63.73 kB / 437.3 MB, free: 35.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/0.2342, allocations: 23.64 kB / 437.3 MB, free: 35.71 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.0001054/0.2343, allocations: 258.7 kB / 437.6 MB, free: 35.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.585e-05/0.2344, allocations: 57.28 kB / 437.7 MB, free: 35.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008758/0.2352, allocations: 0.4957 MB / 438.2 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.2353, allocations: 6.734 kB / 438.2 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.2353, allocations: 1.312 kB / 438.2 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2353, allocations: 6.766 kB / 438.2 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.2366, allocations: 1.148 MB / 439.3 MB, free: 34.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2366, allocations: 1.078 kB / 439.3 MB, free: 34.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002694/0.2369, allocations: 53.7 kB / 439.4 MB, free: 34.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.27e-05/0.2369, allocations: 29.38 kB / 439.4 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/0.237, allocations: 7.531 kB / 439.4 MB, free: 34.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005129/0.2375, allocations: 1.379 MB / 440.8 MB, free: 33.08 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2375, allocations: 3.219 kB / 440.8 MB, free: 33.08 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.2387, allocations: 0.7684 MB / 441.6 MB, free: 32.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.328e-05/0.2388, allocations: 132.1 kB / 441.7 MB, free: 32.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.686e-05/0.2389, allocations: 7.25 kB / 441.7 MB, free: 32.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004746/0.2394, allocations: 48.14 kB / 441.7 MB, free: 32.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.965e-05/0.2395, allocations: 34.45 kB / 441.8 MB, free: 32.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.171e-05/0.2395, allocations: 10.62 kB / 441.8 MB, free: 32.51 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003152/0.2398, allocations: 407.9 kB / 442.2 MB, free: 32.33 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2398, allocations: 0 / 442.2 MB, free: 32.33 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005763/0.2404, allocations: 285.5 kB / 442.5 MB, free: 32.25 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.001982/0.2424, allocations: 1.558 MB / 444 MB, free: 31.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00147/0.2439, allocations: 1.185 MB / 445.2 MB, free: 30.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2439, allocations: 0 / 445.2 MB, free: 30.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004707/0.2444, allocations: 426.2 kB / 445.6 MB, free: 30.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004603/0.2448, allocations: 96.44 kB / 445.7 MB, free: 30.13 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005832/0.2507, allocations: 5.463 MB / 451.2 MB, free: 26.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.2509, allocations: 0.8957 MB / 452.1 MB, free: 26.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002014/0.2512, allocations: 57.78 kB / 452.1 MB, free: 26.24 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.2514, allocations: 216.5 kB / 452.3 MB, free: 26.07 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2514, allocations: 0 / 452.3 MB, free: 26.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6886/0.94, allocations: 12.56 MB / 464.9 MB, free: 24.74 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 24.1/25.04, allocations: 1.375 kB / 464.9 MB, free: 24.74 MB / 350.1 MB (rm -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; mkfifo EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe >> ../files/EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_main_EHPTlib_MapBased_TestingModels_TestOneFlangeConn_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 EHPTlib_main_EHPTlib_MapBased_TestingModels_TestOneFlangeConn.fmu > EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe 2>&1)