Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.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.TestTwoFlange1,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestTwoFlange1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestTwoFlange1,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestTwoFlange1",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.001323/0.001323, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001346/0.001346, allocations: 193.5 kB / 16.25 MB, free: 6.637 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.416/1.416, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1782/0.1782, allocations: 8.93 MB / 299 MB, free: 2.078 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 67.89 kB / 361.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1045, allocations: 51.49 MB / 412.9 MB, free: 9.879 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange1): time 0.006268/0.1108, allocations: 4.437 MB / 417.3 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003434/0.1143, allocations: 2.059 MB / 419.4 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003993/0.1147, allocations: 15.94 kB / 419.4 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004539/0.1152, allocations: 131.2 kB / 419.5 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005548/0.1158, allocations: 182.9 kB / 419.7 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007585/0.1165, allocations: 386.9 kB / 420.1 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000985/0.1175, allocations: 0.9469 MB / 421 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000693/0.1182, allocations: 0.516 MB / 421.6 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000468/0.1187, allocations: 374.7 kB / 421.9 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005006/0.1192, allocations: 402.2 kB / 422.3 MB, free: 408 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001274/0.1194, allocations: 108 kB / 422.4 MB, free: 300 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.1196, allocations: 140 kB / 422.6 MB, free: 160 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1828/0.3024, allocations: 242.8 kB / 422.8 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007541/0.3032, allocations: 464.8 kB / 423.3 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001615/0.3048, allocations: 1.183 MB / 424.4 MB, free: 37.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3049, allocations: 0 / 424.4 MB, free: 37.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3049, allocations: 2.781 kB / 424.4 MB, free: 37.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.425e-05/0.3049, allocations: 0 / 424.4 MB, free: 37.41 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.002332/0.3073, allocations: 1.238 MB / 425.7 MB, free: 36.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.3073, allocations: 12.45 kB / 425.7 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001122/0.3074, allocations: 116.3 kB / 425.8 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.3076, allocations: 98.34 kB / 425.9 MB, free: 36.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000613/0.3082, allocations: 0.5653 MB / 426.5 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.035e-05/0.3083, allocations: 58.72 kB / 426.5 MB, free: 36.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.651e-05/0.3084, allocations: 73.78 kB / 426.6 MB, free: 36.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.3096, allocations: 0.7391 MB / 427.3 MB, free: 36.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.3096, allocations: 1.562 kB / 427.3 MB, free: 36.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.46e-05/0.3097, allocations: 30.75 kB / 427.4 MB, free: 36.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.3097, allocations: 17.84 kB / 427.4 MB, free: 36.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.3108, allocations: 0.5304 MB / 427.9 MB, free: 36.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003397/0.3142, allocations: 2.726 MB / 430.6 MB, free: 35.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000923/0.3152, allocations: 466.2 kB / 431.1 MB, free: 35.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000378/0.3155, allocations: 185.4 kB / 431.3 MB, free: 35.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.548e-05/0.3156, allocations: 2.938 kB / 431.3 MB, free: 35.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006192/0.3162, allocations: 275.9 kB / 431.5 MB, free: 35.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.595e-06/0.3162, allocations: 0 / 431.5 MB, free: 35.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001575/0.3178, allocations: 0.7355 MB / 432.3 MB, free: 34.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.3179, allocations: 135.1 kB / 432.4 MB, free: 34.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006793/0.3186, allocations: 0.682 MB / 433.1 MB, free: 34.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/0.3186, allocations: 36.7 kB / 433.1 MB, free: 34.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/0.3188, allocations: 381.9 kB / 433.5 MB, free: 34.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.362e-05/0.3189, allocations: 120 kB / 433.6 MB, free: 33.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.3191, allocations: 101.6 kB / 433.7 MB, free: 33.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.768e-05/0.3191, allocations: 371.2 kB / 434.1 MB, free: 33.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000399/0.3195, allocations: 183.9 kB / 434.3 MB, free: 33.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004195/0.32, allocations: 305.2 kB / 434.6 MB, free: 33.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008044/0.3208, allocations: 0.5998 MB / 435.2 MB, free: 32.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.3208, allocations: 1.031 kB / 435.2 MB, free: 32.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001097/0.3219, allocations: 0.6623 MB / 435.8 MB, free: 32.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.355e-05/0.322, allocations: 91.64 kB / 435.9 MB, free: 32.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.322, allocations: 4 kB / 435.9 MB, free: 32.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001431/0.3221, allocations: 28.69 kB / 435.9 MB, free: 32.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000366/0.3225, allocations: 104.1 kB / 436 MB, free: 32.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007089/0.3232, allocations: 1.39 MB / 437.4 MB, free: 31.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004564/0.3237, allocations: 88.72 kB / 437.5 MB, free: 31.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.815e-05/0.3237, allocations: 20.41 kB / 437.5 MB, free: 31.01 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005495/0.3243, allocations: 368.8 kB / 437.9 MB, free: 30.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003792/0.3247, allocations: 288.1 kB / 438.2 MB, free: 30.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007198/0.3254, allocations: 0.5683 MB / 438.8 MB, free: 30.19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.345e-06/0.3254, allocations: 0 / 438.8 MB, free: 30.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0009989/0.3264, allocations: 0.6528 MB / 439.4 MB, free: 29.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/0.3265, allocations: 93.81 kB / 439.5 MB, free: 29.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3265, allocations: 3.844 kB / 439.5 MB, free: 29.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.591e-05/0.3266, allocations: 22.36 kB / 439.5 MB, free: 29.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/0.3269, allocations: 98.94 kB / 439.6 MB, free: 29.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006065/0.3275, allocations: 1.395 MB / 441 MB, free: 28.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004279/0.328, allocations: 65.72 kB / 441.1 MB, free: 28.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.328, allocations: 20.25 kB / 441.1 MB, free: 28.31 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (55): * Single equations (assignments): 51 * 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.00018/0.3282, allocations: 273.3 kB / 441.4 MB, free: 28.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.276e-05/0.3283, allocations: 60.53 kB / 441.4 MB, free: 28.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/0.3293, allocations: 0.5385 MB / 442 MB, free: 27.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.3293, allocations: 3.344 kB / 442 MB, free: 27.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.3293, allocations: 0 / 442 MB, free: 27.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.3293, allocations: 6.547 kB / 442 MB, free: 27.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001638/0.331, allocations: 1.27 MB / 443.2 MB, free: 27.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.331, allocations: 0 / 443.2 MB, free: 27.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003058/0.3313, allocations: 64.73 kB / 443.3 MB, free: 27.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-05/0.3314, allocations: 24.02 kB / 443.3 MB, free: 27.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.243e-05/0.3314, allocations: 10.38 kB / 443.3 MB, free: 27.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006212/0.3321, allocations: 1.384 MB / 444.7 MB, free: 25.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/0.3321, allocations: 3.094 kB / 444.7 MB, free: 25.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/0.3334, allocations: 0.8167 MB / 445.5 MB, free: 25.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.3335, allocations: 152.3 kB / 445.7 MB, free: 25.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.356e-05/0.3336, allocations: 10.25 kB / 445.7 MB, free: 25.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003847/0.334, allocations: 42.92 kB / 445.7 MB, free: 25.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.234e-05/0.3341, allocations: 33.97 kB / 445.8 MB, free: 25.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/0.3341, allocations: 16.47 kB / 445.8 MB, free: 25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004564/0.3346, allocations: 493.4 kB / 446.3 MB, free: 24.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3346, allocations: 0 / 446.3 MB, free: 24.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008121/0.3354, allocations: 306.6 kB / 446.6 MB, free: 24.71 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 (32): * Single equations (assignments): 27 * 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.002746/0.3382, allocations: 1.638 MB / 448.2 MB, free: 23.69 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001945/0.3401, allocations: 1.276 MB / 449.5 MB, free: 22.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3401, allocations: 3.219 kB / 449.5 MB, free: 22.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005237/0.3407, allocations: 449.2 kB / 449.9 MB, free: 22.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005779/0.3413, allocations: 100.1 kB / 450 MB, free: 22.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007731/0.349, allocations: 6.6 MB / 456.6 MB, free: 18.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.3494, allocations: 0.9426 MB / 457.6 MB, free: 17.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002827/0.3496, allocations: 70.91 kB / 457.6 MB, free: 17.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002794/0.3499, allocations: 257 kB / 457.9 MB, free: 17.75 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3499, allocations: 2.844 kB / 457.9 MB, free: 17.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03742/0.3874, allocations: 13.8 MB / 471.7 MB, free: 16.43 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/0.3876, allocations: 261.5 kB / 471.9 MB, free: 16.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.267/2.654, allocations: 0 / 471.9 MB, free: 16.14 MB / 350.1 MB (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestTwoFlange1_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestTwoFlange1.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe 2>&1)