Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange2.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.TestOneFlange2,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestOneFlange2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestOneFlange2,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestOneFlange2",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.008497/0.008497, allocations: 102.8 kB / 15.78 MB, free: 5.977 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.001743/0.001743, allocations: 192.8 kB / 16.72 MB, free: 5.852 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.399/1.399, allocations: 225.6 MB / 243.1 MB, free: 3.766 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03512/0.03512, allocations: 7.89 MB / 303.9 MB, free: 3.246 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002213/0.002213, allocations: 60.03 kB / 423.5 MB, free: 1.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2986, allocations: 54 MB / 477.5 MB, free: 23.44 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange2): time 0.005387/0.3039, allocations: 4.882 MB / 482.4 MB, free: 19.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003746/0.3077, allocations: 2.558 MB / 484.9 MB, free: 18.14 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005547/0.3082, allocations: 18.12 kB / 485 MB, free: 18.14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005622/0.3088, allocations: 240.4 kB / 485.2 MB, free: 18.03 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007058/0.3095, allocations: 296 kB / 485.5 MB, free: 17.85 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.3107, allocations: 0.548 MB / 486 MB, free: 17.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001037/0.3117, allocations: 1.026 MB / 487.1 MB, free: 16.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004602/0.3122, allocations: 336.7 kB / 487.4 MB, free: 16.76 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003958/0.3126, allocations: 402.8 kB / 487.8 MB, free: 16.55 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005184/0.3131, allocations: 457.6 kB / 488.2 MB, free: 16.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.3132, allocations: 105.6 kB / 488.3 MB, free: 16.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003913/0.3136, allocations: 204.4 kB / 488.5 MB, free: 16.29 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002082/0.3138, allocations: 250.6 kB / 488.8 MB, free: 16.13 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003247/0.3141, allocations: 478.5 kB / 489.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001352/0.3155, allocations: 1.264 MB / 490.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3155, allocations: 5.094 kB / 490.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3155, allocations: 0 / 490.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.3155, allocations: 4 kB / 490.5 MB, free: 15.24 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001848/0.3174, allocations: 1.317 MB / 491.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.3174, allocations: 17.31 kB / 491.9 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001178/0.3175, allocations: 110.3 kB / 492 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002206/0.3177, allocations: 107.2 kB / 492.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008206/0.3186, allocations: 0.6067 MB / 492.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.524e-05/0.3186, allocations: 50.22 kB / 492.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.432e-05/0.3187, allocations: 80.17 kB / 492.8 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.3199, allocations: 0.7055 MB / 493.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.32, allocations: 1.375 kB / 493.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.431e-05/0.32, allocations: 28.25 kB / 493.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.32, allocations: 21.16 kB / 493.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.3211, allocations: 0.5001 MB / 494.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003172/0.3243, allocations: 2.612 MB / 496.7 MB, free: 11.44 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009328/0.3252, allocations: 435 kB / 497.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003906/0.3256, allocations: 158.8 kB / 497.2 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.521e-05/0.3256, allocations: 13.17 kB / 497.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005759/0.3262, allocations: 264.9 kB / 497.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 2.004e-06/0.3262, allocations: 5.188 kB / 497.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.001645/0.3278, allocations: 0.7404 MB / 498.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/0.3279, allocations: 193.4 kB / 498.5 MB, free: 10.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009794/0.3289, allocations: 0.7979 MB / 499.3 MB, free: 10.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.3289, allocations: 35.05 kB / 499.3 MB, free: 10.03 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002379/0.3292, allocations: 412.4 kB / 499.7 MB, free: 9.707 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.255e-05/0.3292, allocations: 129.5 kB / 499.8 MB, free: 9.605 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.3294, allocations: 96.89 kB / 499.9 MB, free: 9.551 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.3295, allocations: 377.6 kB / 0.4886 GB, free: 9.211 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004248/0.3299, allocations: 178.8 kB / 0.4887 GB, free: 9.145 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004459/0.3304, allocations: 292.6 kB / 0.489 GB, free: 8.926 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008385/0.3312, allocations: 0.5786 MB / 0.4896 GB, free: 8.461 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.3312, allocations: 0 / 0.4896 GB, free: 8.461 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001159/0.3324, allocations: 0.6654 MB / 0.4902 GB, free: 8.059 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.528e-05/0.3324, allocations: 90.14 kB / 0.4903 GB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.3324, allocations: 3.547 kB / 0.4903 GB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000156/0.3326, allocations: 33.8 kB / 0.4903 GB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003584/0.3329, allocations: 94.25 kB / 0.4904 GB, free: 7.914 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007047/0.3336, allocations: 1.382 MB / 0.4918 GB, free: 6.473 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004763/0.3341, allocations: 87.55 kB / 0.4919 GB, free: 6.422 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-05/0.3342, allocations: 18.69 kB / 0.4919 GB, free: 6.418 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000565/0.3347, allocations: 362.5 kB / 0.4922 GB, free: 6.195 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003857/0.3351, allocations: 281.5 kB / 0.4925 GB, free: 5.969 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007013/0.3358, allocations: 0.5452 MB / 0.493 GB, free: 5.523 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.244e-06/0.3358, allocations: 1.375 kB / 0.493 GB, free: 5.523 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001032/0.3368, allocations: 0.6355 MB / 0.4936 GB, free: 5.137 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/0.3369, allocations: 95.31 kB / 0.4937 GB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.3369, allocations: 2.531 kB / 0.4937 GB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.194e-05/0.337, allocations: 31.25 kB / 0.4938 GB, free: 5.016 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003174/0.3373, allocations: 91.48 kB / 0.4939 GB, free: 4.992 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006186/0.3379, allocations: 1.388 MB / 0.4952 GB, free: 3.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000422/0.3383, allocations: 63.67 kB / 0.4953 GB, free: 3.512 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/0.3384, allocations: 19.53 kB / 0.4953 GB, free: 3.508 MB / 366.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.pDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * 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.0001797/0.3385, allocations: 280 kB / 0.4956 GB, free: 3.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.3387, allocations: 82.2 kB / 0.4956 GB, free: 3.184 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.3398, allocations: 0.5343 MB / 0.4962 GB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3398, allocations: 3.656 kB / 0.4962 GB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.3398, allocations: 96 / 0.4962 GB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.3398, allocations: 12.98 kB / 0.4962 GB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/0.3415, allocations: 1.289 MB / 0.4974 GB, free: 1.871 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3416, allocations: 5.078 kB / 0.4974 GB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003053/0.3419, allocations: 71.23 kB / 0.4975 GB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.29e-05/0.3419, allocations: 22.88 kB / 0.4975 GB, free: 1.828 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/0.342, allocations: 8.438 kB / 0.4975 GB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005774/0.3425, allocations: 1.374 MB / 0.4989 GB, free: 396 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3425, allocations: 0 / 0.4989 GB, free: 396 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.344, allocations: 0.8317 MB / 0.4997 GB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002342/0.3442, allocations: 202.7 kB / 0.4999 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.331e-05/0.3443, allocations: 12.42 kB / 0.4999 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003691/0.3446, allocations: 46.3 kB / 0.4999 GB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.3447, allocations: 34.67 kB / 0.5 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-05/0.3448, allocations: 11.34 kB / 0.5 GB, free: 15.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006709/0.3454, allocations: 0.5666 MB / 0.5005 GB, free: 15.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3454, allocations: 4 kB / 0.5005 GB, free: 15.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001008/0.3464, allocations: 319.4 kB / 0.5008 GB, free: 15.21 MB / 382.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.pDC.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 (33): * Single equations (assignments): 28 * 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.004144/0.3506, allocations: 1.931 MB / 0.5027 GB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002053/0.3526, allocations: 1.173 MB / 0.5039 GB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.3526, allocations: 0 / 0.5039 GB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006374/0.3533, allocations: 419.1 kB / 0.5043 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007943/0.3541, allocations: 130 kB / 0.5044 GB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/0.3648, allocations: 6.199 MB / 0.5105 GB, free: 7.559 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006908/0.3655, allocations: 0.949 MB / 0.5114 GB, free: 6.582 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000373/0.3658, allocations: 92.48 kB / 0.5115 GB, free: 6.488 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004132/0.3663, allocations: 279.3 kB / 0.5117 GB, free: 6.215 MB / 382.1 MB Notification: Performance of SimCode: time 1.183e-06/0.3663, allocations: 0 / 0.5117 GB, free: 6.215 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05309/0.4193, allocations: 16.21 MB / 0.5276 GB, free: 6.055 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.95, allocations: 11.94 kB / 0.5276 GB, free: 6.043 MB / 398.1 MB (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange2.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange2.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange2.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestOneFlange2_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestOneFlange2.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange2.pipe 2>&1)