Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.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.TestTwoFlange,fileNamePrefix="EHPTlib_main_EHPTlib_MapBased_TestingModels_TestTwoFlange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestTwoFlange,fileNamePrefix="EHPTlib_main_EHPTlib_MapBased_TestingModels_TestTwoFlange",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.001444/0.001445, 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.001653/0.001653, allocations: 196.9 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.182/1.182, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1228/0.1228, allocations: 7.996 MB / 298.3 MB, free: 2.328 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001083, allocations: 60.14 kB / 360.6 MB, free: 14.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0742/0.0753, allocations: 51.19 MB / 411.8 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.004874/0.08021, allocations: 4.283 MB / 416.1 MB, free: 6.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.08206, allocations: 1.458 MB / 417.6 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002192/0.08229, allocations: 19.94 kB / 417.6 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003324/0.08263, allocations: 154.8 kB / 417.7 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004023/0.08306, allocations: 202.4 kB / 417.9 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005718/0.08363, allocations: 406.8 kB / 418.3 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006674/0.08431, allocations: 0.8884 MB / 419.2 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005056/0.08483, allocations: 475.7 kB / 419.7 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002736/0.08511, allocations: 342.9 kB / 420 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003229/0.08544, allocations: 378.4 kB / 420.4 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.535e-05/0.08554, allocations: 100 kB / 420.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.0857, allocations: 132 kB / 420.6 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001756/0.08588, allocations: 223.3 kB / 420.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003022/0.08619, allocations: 430 kB / 421.2 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007742/0.08697, allocations: 1.067 MB / 422.3 MB, free: 444 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.08699, allocations: 4 kB / 422.3 MB, free: 440 kB / 350.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.08699, allocations: 0 / 422.3 MB, free: 440 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.08701, allocations: 0 / 422.3 MB, free: 440 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.1299/0.2169, allocations: 1.153 MB / 423.5 MB, free: 38.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.217, allocations: 7.844 kB / 423.5 MB, free: 38.88 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001198/0.2171, allocations: 111.9 kB / 423.6 MB, free: 38.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/0.2173, allocations: 88.34 kB / 423.7 MB, free: 38.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005428/0.2178, allocations: 0.5034 MB / 424.2 MB, free: 38.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.747e-05/0.2178, allocations: 60.5 kB / 424.2 MB, free: 38.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.975e-05/0.2179, allocations: 79.22 kB / 424.3 MB, free: 38.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.2191, allocations: 0.7031 MB / 425 MB, free: 38.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.2191, allocations: 1.375 kB / 425 MB, free: 38.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.062e-05/0.2191, allocations: 26.91 kB / 425 MB, free: 38.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.2192, allocations: 17.47 kB / 425.1 MB, free: 38.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009708/0.2201, allocations: 0.5044 MB / 425.6 MB, free: 38.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002809/0.223, allocations: 2.568 MB / 428.1 MB, free: 37.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007926/0.2238, allocations: 435.4 kB / 428.6 MB, free: 37.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003394/0.2241, allocations: 179.2 kB / 428.7 MB, free: 37.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.2242, allocations: 8.875 kB / 428.7 MB, free: 37.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005019/0.2247, allocations: 259.7 kB / 429 MB, free: 37.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.563e-06/0.2247, allocations: 0 / 429 MB, free: 37.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001366/0.226, allocations: 0.719 MB / 429.7 MB, free: 37.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.2261, allocations: 138.5 kB / 429.9 MB, free: 36.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004755/0.2266, allocations: 0.5776 MB / 430.4 MB, free: 36.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.2266, allocations: 41.95 kB / 430.5 MB, free: 36.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.2268, allocations: 353.4 kB / 430.8 MB, free: 36.51 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.955e-05/0.2268, allocations: 110.9 kB / 430.9 MB, free: 36.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.933e-05/0.2269, allocations: 75.48 kB / 431 MB, free: 36.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.377e-05/0.227, allocations: 364.9 kB / 431.4 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003587/0.2274, allocations: 165.5 kB / 431.5 MB, free: 35.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003682/0.2277, allocations: 267.2 kB / 431.8 MB, free: 35.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007133/0.2285, allocations: 0.5436 MB / 432.3 MB, free: 35.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.2285, allocations: 3.844 kB / 432.3 MB, free: 35.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009403/0.2294, allocations: 0.6018 MB / 432.9 MB, free: 35.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.44e-05/0.2295, allocations: 94.03 kB / 433 MB, free: 35.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.2295, allocations: 3.312 kB / 433 MB, free: 35.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001261/0.2296, allocations: 29.05 kB / 433.1 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.2299, allocations: 86.97 kB / 433.1 MB, free: 35.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006004/0.2305, allocations: 1.392 MB / 434.5 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003816/0.2309, allocations: 75.91 kB / 434.6 MB, free: 33.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.894e-05/0.2309, allocations: 11.94 kB / 434.6 MB, free: 33.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004355/0.2314, allocations: 330.6 kB / 434.9 MB, free: 33.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003184/0.2317, allocations: 246.3 kB / 435.2 MB, free: 33.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006156/0.2323, allocations: 0.5291 MB / 435.7 MB, free: 32.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.224e-06/0.2323, allocations: 9.828 kB / 435.7 MB, free: 32.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0008437/0.2332, allocations: 0.576 MB / 436.3 MB, free: 32.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.2332, allocations: 89.92 kB / 436.4 MB, free: 32.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.125e-06/0.2332, allocations: 3.281 kB / 436.4 MB, free: 32.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.372e-05/0.2333, allocations: 25.36 kB / 436.4 MB, free: 32.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.2336, allocations: 83 kB / 436.5 MB, free: 32.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005109/0.2341, allocations: 1.384 MB / 437.9 MB, free: 31.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003583/0.2345, allocations: 72.73 kB / 437.9 MB, free: 30.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.2345, allocations: 16.41 kB / 438 MB, free: 30.98 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,twoFlanges.limTau.state,$whenCondition1,twoFlanges.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * 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.0001158/0.2346, allocations: 269.4 kB / 438.2 MB, free: 30.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.949e-05/0.2347, allocations: 55.22 kB / 438.3 MB, free: 30.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008775/0.2356, allocations: 0.5086 MB / 438.8 MB, free: 30.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.2356, allocations: 3.25 kB / 438.8 MB, free: 30.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.2356, allocations: 0 / 438.8 MB, free: 30.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.2356, allocations: 6.625 kB / 438.8 MB, free: 30.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.2369, allocations: 1.191 MB / 440 MB, free: 29.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2369, allocations: 0 / 440 MB, free: 29.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000268/0.2372, allocations: 64.66 kB / 440 MB, free: 29.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.888e-05/0.2373, allocations: 20.23 kB / 440.1 MB, free: 29.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.2373, allocations: 14.36 kB / 440.1 MB, free: 29.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005121/0.2378, allocations: 1.39 MB / 441.5 MB, free: 28.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2378, allocations: 0.9375 kB / 441.5 MB, free: 28.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.239, allocations: 0.7802 MB / 442.3 MB, free: 27.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.53e-05/0.2391, allocations: 148.3 kB / 442.4 MB, free: 27.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.705e-05/0.2392, allocations: 15.05 kB / 442.4 MB, free: 27.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000348/0.2395, allocations: 43.47 kB / 442.5 MB, free: 27.76 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.031e-05/0.2396, allocations: 30.75 kB / 442.5 MB, free: 27.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.2396, allocations: 10.28 kB / 442.5 MB, free: 27.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003108/0.24, allocations: 419.3 kB / 442.9 MB, free: 27.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.24, allocations: 0.9375 kB / 442.9 MB, free: 27.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006156/0.2406, allocations: 290.8 kB / 443.2 MB, free: 27.49 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,twoFlanges.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,twoFlanges.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,twoFlanges.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * 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.001981/0.2426, allocations: 1.596 MB / 444.8 MB, free: 26.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001418/0.244, allocations: 1.192 MB / 446 MB, free: 25.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.244, allocations: 3.406 kB / 446 MB, free: 25.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004725/0.2445, allocations: 436.3 kB / 446.4 MB, free: 25.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004668/0.245, allocations: 91.69 kB / 446.5 MB, free: 25.35 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006204/0.2512, allocations: 5.662 MB / 452.2 MB, free: 22.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.2515, allocations: 0.9064 MB / 453.1 MB, free: 21.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001715/0.2516, allocations: 65.39 kB / 453.1 MB, free: 21.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/0.2519, allocations: 236.3 kB / 453.4 MB, free: 21.23 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2519, allocations: 0 / 453.4 MB, free: 21.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.194/3.446, allocations: 12.9 MB / 466.3 MB, free: 19.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.5/20.94, allocations: 8.766 kB / 466.3 MB, free: 19.9 MB / 350.1 MB (rm -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; mkfifo EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe >> ../files/EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_main_EHPTlib_MapBased_TestingModels_TestTwoFlange_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 EHPTlib_main_EHPTlib_MapBased_TestingModels_TestTwoFlange.fmu > EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe 2>&1)