Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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_EHPTlib_MapBased_TestingModels_TestOneFlange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestOneFlange,fileNamePrefix="EHPTlib_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.00105/0.00105, allocations: 108 kB / 15.61 MB, free: 152 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.001066/0.001066, allocations: 196.7 kB / 16.53 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.329/1.329, 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.1381/0.1381, allocations: 8.02 MB / 298.4 MB, free: 2.367 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 59.89 kB / 360.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1017, allocations: 51.19 MB / 411.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.005656/0.1074, allocations: 4.114 MB / 416 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002376/0.1098, allocations: 1.411 MB / 417.4 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002745/0.1101, allocations: 11.94 kB / 417.5 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004358/0.1105, allocations: 154.8 kB / 417.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005/0.111, allocations: 202.5 kB / 417.8 MB, free: 5.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006479/0.1117, allocations: 370.9 kB / 418.2 MB, free: 4.676 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007312/0.1124, allocations: 0.8452 MB / 419 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005609/0.113, allocations: 446.4 kB / 419.4 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000315/0.1133, allocations: 315 kB / 419.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003518/0.1137, allocations: 350.5 kB / 420.1 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.1138, allocations: 96 kB / 420.2 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001786/0.114, allocations: 124 kB / 420.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001996/0.1142, allocations: 207.4 kB / 420.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003305/0.1146, allocations: 402.1 kB / 420.9 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008823/0.1154, allocations: 1.001 MB / 421.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1155, allocations: 0 / 421.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1155, allocations: 0 / 421.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.1155, allocations: 0 / 421.9 MB, free: 0.9062 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.1834/0.2988, allocations: 1.106 MB / 423 MB, free: 44.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.2989, allocations: 9.344 kB / 423 MB, free: 44.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001059/0.299, allocations: 104 kB / 423.1 MB, free: 44.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.2992, allocations: 81.12 kB / 423.2 MB, free: 44.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006119/0.2998, allocations: 0.4968 MB / 423.7 MB, free: 44.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.177e-05/0.2998, allocations: 46.73 kB / 423.7 MB, free: 44.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.773e-05/0.2999, allocations: 67.34 kB / 423.8 MB, free: 44.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.301, allocations: 0.6501 MB / 424.5 MB, free: 44.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.301, allocations: 7.844 kB / 424.5 MB, free: 44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.562e-05/0.3011, allocations: 29.41 kB / 424.5 MB, free: 44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.3011, allocations: 13.44 kB / 424.5 MB, free: 44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009716/0.3021, allocations: 480.2 kB / 425 MB, free: 43.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00278/0.3049, allocations: 2.518 MB / 427.5 MB, free: 42.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008133/0.3057, allocations: 424.1 kB / 427.9 MB, free: 42.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003474/0.3061, allocations: 172.2 kB / 428.1 MB, free: 42.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.3061, allocations: 7.297 kB / 428.1 MB, free: 42.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005532/0.3067, allocations: 261 kB / 428.3 MB, free: 42.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.014e-06/0.3067, allocations: 5.688 kB / 428.4 MB, free: 42.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001383/0.3081, allocations: 0.6701 MB / 429 MB, free: 41.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.3081, allocations: 144.2 kB / 429.2 MB, free: 41.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005072/0.3086, allocations: 0.5608 MB / 429.7 MB, free: 41.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.3087, allocations: 40.11 kB / 429.8 MB, free: 41.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.3088, allocations: 337.7 kB / 430.1 MB, free: 41.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.003e-05/0.3089, allocations: 108.2 kB / 430.2 MB, free: 41.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.309, allocations: 72.34 kB / 430.3 MB, free: 41.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.661e-05/0.3091, allocations: 369 kB / 430.6 MB, free: 40.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003576/0.3095, allocations: 155.4 kB / 430.8 MB, free: 40.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003791/0.3098, allocations: 257.6 kB / 431 MB, free: 40.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000722/0.3106, allocations: 0.5318 MB / 431.6 MB, free: 40.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.3106, allocations: 6.516 kB / 431.6 MB, free: 40.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009349/0.3115, allocations: 0.5892 MB / 432.2 MB, free: 39.83 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.821e-05/0.3116, allocations: 89.66 kB / 432.2 MB, free: 39.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.3116, allocations: 3.031 kB / 432.2 MB, free: 39.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000142/0.3117, allocations: 25.16 kB / 432.3 MB, free: 39.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002835/0.312, allocations: 82.69 kB / 432.4 MB, free: 39.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006449/0.3127, allocations: 1.385 MB / 433.7 MB, free: 38.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003696/0.3131, allocations: 77.03 kB / 433.8 MB, free: 38.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.3131, allocations: 20.22 kB / 433.8 MB, free: 38.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004317/0.3135, allocations: 315.7 kB / 434.1 MB, free: 38.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003341/0.3139, allocations: 241.4 kB / 434.4 MB, free: 37.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000636/0.3145, allocations: 0.5105 MB / 434.9 MB, free: 37.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/0.3145, allocations: 3.375 kB / 434.9 MB, free: 37.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008518/0.3154, allocations: 0.5633 MB / 435.5 MB, free: 37.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/0.3154, allocations: 94.2 kB / 435.5 MB, free: 37.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.3155, allocations: 3.219 kB / 435.5 MB, free: 37.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.237e-05/0.3155, allocations: 24.98 kB / 435.6 MB, free: 37.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.3158, allocations: 78.02 kB / 435.7 MB, free: 37.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005583/0.3163, allocations: 1.389 MB / 437 MB, free: 35.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003489/0.3167, allocations: 69.11 kB / 437.1 MB, free: 35.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/0.3167, allocations: 12.81 kB / 437.1 MB, free: 35.73 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.0001199/0.3169, allocations: 266.5 kB / 437.4 MB, free: 35.47 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.021e-05/0.3169, allocations: 56.38 kB / 437.4 MB, free: 35.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000906/0.3178, allocations: 498.4 kB / 437.9 MB, free: 35.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.3179, allocations: 6.531 kB / 437.9 MB, free: 35.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.3179, allocations: 0 / 437.9 MB, free: 35.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3179, allocations: 3.828 kB / 437.9 MB, free: 35.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/0.3192, allocations: 1.139 MB / 439.1 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.3193, allocations: 3.234 kB / 439.1 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002644/0.3195, allocations: 55.47 kB / 439.1 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.246e-05/0.3196, allocations: 26.27 kB / 439.2 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.3196, allocations: 7.312 kB / 439.2 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000565/0.3202, allocations: 1.381 MB / 440.5 MB, free: 33.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3202, allocations: 3.281 kB / 440.5 MB, free: 33.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.3214, allocations: 0.7635 MB / 441.3 MB, free: 32.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.657e-05/0.3215, allocations: 138.5 kB / 441.4 MB, free: 32.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.003e-05/0.3216, allocations: 7.188 kB / 441.5 MB, free: 32.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003448/0.3219, allocations: 48.91 kB / 441.5 MB, free: 32.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.79e-05/0.322, allocations: 32.27 kB / 441.5 MB, free: 32.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/0.3221, allocations: 17.38 kB / 441.5 MB, free: 32.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003328/0.3224, allocations: 411.5 kB / 441.9 MB, free: 32.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3224, allocations: 0 / 441.9 MB, free: 32.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006335/0.3231, allocations: 264.3 kB / 442.2 MB, free: 32.29 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.01002/0.3331, allocations: 1.56 MB / 443.8 MB, free: 31.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001824/0.3349, allocations: 1.181 MB / 444.9 MB, free: 30.51 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.335, allocations: 3.719 kB / 445 MB, free: 30.51 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004982/0.3355, allocations: 424.6 kB / 445.4 MB, free: 30.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005787/0.336, allocations: 99.61 kB / 445.5 MB, free: 30.17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006081/0.3421, allocations: 5.457 MB / 450.9 MB, free: 27.01 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.3424, allocations: 0.8936 MB / 451.8 MB, free: 26.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002115/0.3427, allocations: 58.02 kB / 451.9 MB, free: 26.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.3429, allocations: 206.5 kB / 452.1 MB, free: 26.13 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3429, allocations: 0 / 452.1 MB, free: 26.13 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03962/0.3825, allocations: 12.49 MB / 464.6 MB, free: 24.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.468/9.851, allocations: 5.031 kB / 464.6 MB, free: 24.77 MB / 350.1 MB (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_MapBased_TestingModels_TestOneFlange_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 EHPTlib_EHPTlib_MapBased_TestingModels_TestOneFlange.fmu > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe 2>&1)