Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_latest_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_latest_EHPTlib_MapBased_TestingModels_TestOneFlange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestOneFlange,fileNamePrefix="EHPTlib_latest_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.0009575/0.0009575, allocations: 103.4 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.001002/0.001002, allocations: 193.3 kB / 16.25 MB, free: 6.625 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.23/1.23, allocations: 222.9 MB / 239.9 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.128/0.128, allocations: 8.023 MB / 298.1 MB, free: 2.523 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001075, allocations: 63.91 kB / 360.2 MB, free: 14.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08823/0.08932, allocations: 51.19 MB / 411.4 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.004892/0.09424, allocations: 4.13 MB / 415.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.09608, allocations: 1.387 MB / 416.9 MB, free: 5.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002037/0.09629, allocations: 15.94 kB / 417 MB, free: 5.836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003379/0.09664, allocations: 119.3 kB / 417.1 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000394/0.09705, allocations: 159 kB / 417.2 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005483/0.09761, allocations: 343.1 kB / 417.6 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006848/0.0983, allocations: 0.8335 MB / 418.4 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005143/0.09882, allocations: 450.4 kB / 418.8 MB, free: 3.941 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002669/0.0991, allocations: 318.9 kB / 419.2 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003217/0.09943, allocations: 358.5 kB / 419.5 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.22e-05/0.09953, allocations: 92 kB / 419.6 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001582/0.09969, allocations: 120 kB / 419.7 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.09987, allocations: 207.3 kB / 419.9 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002897/0.1002, allocations: 394.1 kB / 420.3 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007872/0.101, allocations: 1.012 MB / 421.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.101, allocations: 0 / 421.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.101, allocations: 0 / 421.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.101, allocations: 0 / 421.3 MB, free: 1.465 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.001591/0.1026, allocations: 1.106 MB / 422.4 MB, free: 292 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.1026, allocations: 8.031 kB / 422.4 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000102/0.1027, allocations: 110.6 kB / 422.5 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.1029, allocations: 84 kB / 422.6 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1379/0.2407, allocations: 499.4 kB / 423.1 MB, free: 44.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.109e-05/0.2408, allocations: 45.03 kB / 423.1 MB, free: 44.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.61e-05/0.2409, allocations: 70.06 kB / 423.2 MB, free: 44.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.242, allocations: 0.6459 MB / 423.9 MB, free: 44.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.242, allocations: 2.375 kB / 423.9 MB, free: 44.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.965e-05/0.242, allocations: 30.25 kB / 423.9 MB, free: 44.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.2421, allocations: 14.5 kB / 423.9 MB, free: 44.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009248/0.243, allocations: 481.2 kB / 424.4 MB, free: 44.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002607/0.2456, allocations: 2.518 MB / 426.9 MB, free: 43.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000756/0.2464, allocations: 414.4 kB / 427.3 MB, free: 43.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003401/0.2467, allocations: 176.3 kB / 427.5 MB, free: 43.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.2468, allocations: 3.891 kB / 427.5 MB, free: 43.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000503/0.2473, allocations: 256.6 kB / 427.7 MB, free: 42.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.134e-06/0.2473, allocations: 0 / 427.7 MB, free: 42.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001294/0.2486, allocations: 0.6875 MB / 428.4 MB, free: 42.53 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.2486, allocations: 133.5 kB / 428.5 MB, free: 42.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004565/0.2491, allocations: 0.5648 MB / 429.1 MB, free: 42.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.2491, allocations: 39.39 kB / 429.1 MB, free: 42.08 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.2493, allocations: 342.3 kB / 429.5 MB, free: 41.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.484e-05/0.2494, allocations: 101.3 kB / 429.6 MB, free: 41.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.2495, allocations: 75.95 kB / 429.7 MB, free: 41.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.721e-05/0.2496, allocations: 362.8 kB / 430 MB, free: 41.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003395/0.2499, allocations: 164.4 kB / 430.2 MB, free: 41.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003538/0.2503, allocations: 255 kB / 430.4 MB, free: 41.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007024/0.251, allocations: 0.5278 MB / 430.9 MB, free: 40.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.251, allocations: 0 / 430.9 MB, free: 40.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009017/0.2519, allocations: 0.5959 MB / 431.5 MB, free: 40.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.039e-05/0.252, allocations: 91.22 kB / 431.6 MB, free: 40.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.252, allocations: 5.141 kB / 431.6 MB, free: 40.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001345/0.2521, allocations: 28.12 kB / 431.7 MB, free: 40.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.2524, allocations: 82.33 kB / 431.7 MB, free: 40.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006592/0.2531, allocations: 1.391 MB / 433.1 MB, free: 38.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003655/0.2534, allocations: 71.58 kB / 433.2 MB, free: 38.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/0.2535, allocations: 23.28 kB / 433.2 MB, free: 38.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004183/0.2539, allocations: 314.4 kB / 433.5 MB, free: 38.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000324/0.2542, allocations: 251.4 kB / 433.8 MB, free: 38.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006149/0.2549, allocations: 0.5116 MB / 434.3 MB, free: 38.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.314e-06/0.2549, allocations: 3.156 kB / 434.3 MB, free: 38.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008306/0.2557, allocations: 0.5584 MB / 434.9 MB, free: 37.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/0.2558, allocations: 90.19 kB / 434.9 MB, free: 37.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2558, allocations: 7.094 kB / 434.9 MB, free: 37.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.329e-05/0.2558, allocations: 25.11 kB / 435 MB, free: 37.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.2561, allocations: 81.59 kB / 435.1 MB, free: 37.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005437/0.2566, allocations: 1.374 MB / 436.4 MB, free: 36.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003447/0.257, allocations: 62.59 kB / 436.5 MB, free: 36.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/0.257, allocations: 16.59 kB / 436.5 MB, free: 36.36 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.0001251/0.2572, allocations: 274.2 kB / 436.8 MB, free: 36.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.903e-05/0.2572, allocations: 58 kB / 436.8 MB, free: 36.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008523/0.2581, allocations: 497.7 kB / 437.3 MB, free: 35.83 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.2581, allocations: 2.906 kB / 437.3 MB, free: 35.83 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.2581, allocations: 5.812 kB / 437.3 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2581, allocations: 10.36 kB / 437.3 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.2594, allocations: 1.131 MB / 438.5 MB, free: 35.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2594, allocations: 1.125 kB / 438.5 MB, free: 35.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002616/0.2597, allocations: 58.34 kB / 438.5 MB, free: 35.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.184e-05/0.2598, allocations: 24.61 kB / 438.5 MB, free: 35.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.2598, allocations: 7.25 kB / 438.6 MB, free: 35.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005323/0.2604, allocations: 1.372 MB / 439.9 MB, free: 33.74 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2604, allocations: 3.938 kB / 439.9 MB, free: 33.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.2615, allocations: 0.7668 MB / 440.7 MB, free: 33.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.276e-05/0.2616, allocations: 139.2 kB / 440.8 MB, free: 33.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.386e-05/0.2617, allocations: 14.53 kB / 440.8 MB, free: 33.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003474/0.262, allocations: 43.12 kB / 440.9 MB, free: 33.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.2622, allocations: 31 kB / 440.9 MB, free: 33.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.442e-05/0.2622, allocations: 10.53 kB / 440.9 MB, free: 33.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003652/0.2626, allocations: 415.1 kB / 441.3 MB, free: 32.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2626, allocations: 3.062 kB / 441.3 MB, free: 32.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006646/0.2632, allocations: 270 kB / 441.6 MB, free: 32.91 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.002074/0.2653, allocations: 1.557 MB / 443.2 MB, free: 31.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001511/0.2668, allocations: 1.186 MB / 444.3 MB, free: 31.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2669, allocations: 0 / 444.3 MB, free: 31.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004833/0.2673, allocations: 428.7 kB / 444.8 MB, free: 30.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005053/0.2679, allocations: 91.5 kB / 444.9 MB, free: 30.76 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006195/0.2741, allocations: 5.693 MB / 450.5 MB, free: 27.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.2744, allocations: 0.8882 MB / 451.4 MB, free: 26.65 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002379/0.2746, allocations: 58.36 kB / 451.5 MB, free: 26.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/0.2748, allocations: 213.8 kB / 451.7 MB, free: 26.48 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2748, allocations: 0 / 451.7 MB, free: 26.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02623/0.3011, allocations: 12.21 MB / 463.9 MB, free: 25.26 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001594/0.3013, allocations: 268 kB / 464.2 MB, free: 24.99 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.869/2.17, allocations: 0 / 464.2 MB, free: 24.99 MB / 350.1 MB (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestOneFlange_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestOneFlange.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe 2>&1)