Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange3.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.TestOneFlange3,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestOneFlange3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestOneFlange3,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestOneFlange3",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.005908/0.005908, allocations: 103.6 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.001256/0.001256, allocations: 197.6 kB / 16.73 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.352/1.352, allocations: 225.6 MB / 243.1 MB, free: 3.75 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.035/0.035, allocations: 7.883 MB / 303.9 MB, free: 3.277 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 67.89 kB / 423.5 MB, free: 1.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2586, allocations: 53.99 MB / 477.5 MB, free: 23.62 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange3): time 0.005314/0.2639, allocations: 4.885 MB / 482.4 MB, free: 20.17 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003426/0.2673, allocations: 2.563 MB / 485 MB, free: 18.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003598/0.2677, allocations: 22.22 kB / 485 MB, free: 18.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005277/0.2682, allocations: 230.8 kB / 485.2 MB, free: 18.22 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005779/0.2688, allocations: 297 kB / 485.5 MB, free: 18.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009555/0.2697, allocations: 0.5443 MB / 486 MB, free: 17.71 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009134/0.2706, allocations: 1.032 MB / 487.1 MB, free: 17.17 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004612/0.2711, allocations: 340.6 kB / 487.4 MB, free: 16.94 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000379/0.2715, allocations: 396 kB / 487.8 MB, free: 16.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005159/0.272, allocations: 457.5 kB / 488.2 MB, free: 16.51 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.2721, allocations: 107.6 kB / 488.3 MB, free: 16.51 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002968/0.2724, allocations: 198.2 kB / 488.5 MB, free: 16.48 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002186/0.2727, allocations: 247.2 kB / 488.8 MB, free: 16.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003352/0.273, allocations: 482.4 kB / 489.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001385/0.2744, allocations: 1.267 MB / 490.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2744, allocations: 1.375 kB / 490.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2744, allocations: 0 / 490.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.871e-05/0.2744, allocations: 0 / 490.5 MB, free: 15.43 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.00182/0.2762, allocations: 1.326 MB / 491.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.2763, allocations: 12.45 kB / 491.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001124/0.2764, allocations: 114.4 kB / 492 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001475/0.2765, allocations: 105.8 kB / 492.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000775/0.2773, allocations: 0.6107 MB / 492.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.839e-05/0.2773, allocations: 54.41 kB / 492.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.796e-05/0.2774, allocations: 75.7 kB / 492.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.2787, allocations: 0.7067 MB / 493.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.2787, allocations: 0.5625 kB / 493.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.268e-05/0.2788, allocations: 33.28 kB / 493.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.2788, allocations: 14.97 kB / 493.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.2799, allocations: 0.5094 MB / 494.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00334/0.2832, allocations: 2.608 MB / 496.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009286/0.2841, allocations: 440.1 kB / 497.1 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003847/0.2845, allocations: 163.1 kB / 497.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.955e-05/0.2846, allocations: 5.438 kB / 497.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005565/0.2851, allocations: 272.6 kB / 497.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 1.683e-06/0.2851, allocations: 1.062 kB / 497.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.001603/0.2867, allocations: 0.7424 MB / 498.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.2868, allocations: 196.9 kB / 498.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009688/0.2878, allocations: 0.8047 MB / 499.3 MB, free: 10.22 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.2878, allocations: 35.14 kB / 499.3 MB, free: 10.19 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/0.288, allocations: 417.6 kB / 499.7 MB, free: 9.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.839e-05/0.2881, allocations: 127.3 kB / 499.8 MB, free: 9.711 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.2882, allocations: 93.41 kB / 499.9 MB, free: 9.652 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.148e-05/0.2883, allocations: 380.2 kB / 0.4886 GB, free: 9.289 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003979/0.2887, allocations: 178.8 kB / 0.4887 GB, free: 9.195 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004408/0.2891, allocations: 293.6 kB / 0.489 GB, free: 8.969 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008311/0.29, allocations: 0.576 MB / 0.4896 GB, free: 8.508 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.29, allocations: 0 / 0.4896 GB, free: 8.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001157/0.2911, allocations: 0.6663 MB / 0.4902 GB, free: 8.105 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.694e-05/0.2912, allocations: 94.12 kB / 0.4903 GB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.2912, allocations: 3.531 kB / 0.4903 GB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001468/0.2913, allocations: 26.34 kB / 0.4904 GB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003556/0.2917, allocations: 98.31 kB / 0.4905 GB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006973/0.2924, allocations: 1.378 MB / 0.4918 GB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004225/0.2928, allocations: 83.61 kB / 0.4919 GB, free: 6.477 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-05/0.2929, allocations: 19.41 kB / 0.4919 GB, free: 6.473 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005347/0.2934, allocations: 367.6 kB / 0.4922 GB, free: 6.246 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004066/0.2938, allocations: 280.7 kB / 0.4925 GB, free: 6.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007338/0.2945, allocations: 0.5515 MB / 0.4931 GB, free: 5.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.793e-06/0.2945, allocations: 4 kB / 0.4931 GB, free: 5.566 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001045/0.2956, allocations: 0.6333 MB / 0.4937 GB, free: 5.184 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.853e-05/0.2956, allocations: 95.62 kB / 0.4938 GB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2956, allocations: 2.75 kB / 0.4938 GB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.923e-05/0.2957, allocations: 37.5 kB / 0.4938 GB, free: 5.055 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003187/0.296, allocations: 96.78 kB / 0.4939 GB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006983/0.2967, allocations: 1.376 MB / 0.4952 GB, free: 3.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000406/0.2971, allocations: 76 kB / 0.4953 GB, free: 3.547 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-05/0.2972, allocations: 19.75 kB / 0.4953 GB, free: 3.543 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.0002007/0.2974, allocations: 280.6 kB / 0.4956 GB, free: 3.266 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.2975, allocations: 73.12 kB / 0.4957 GB, free: 3.227 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.2986, allocations: 0.5462 MB / 0.4962 GB, free: 2.879 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.2986, allocations: 7.281 kB / 0.4962 GB, free: 2.875 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.2986, allocations: 1.156 kB / 0.4962 GB, free: 2.875 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.2986, allocations: 3.938 kB / 0.4962 GB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.3003, allocations: 1.288 MB / 0.4975 GB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3003, allocations: 0 / 0.4975 GB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003034/0.3006, allocations: 72.2 kB / 0.4975 GB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.848e-05/0.3007, allocations: 26.09 kB / 0.4976 GB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/0.3007, allocations: 12.55 kB / 0.4976 GB, free: 1.859 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005665/0.3013, allocations: 1.373 MB / 0.4989 GB, free: 432 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3013, allocations: 0 / 0.4989 GB, free: 432 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/0.3027, allocations: 0.8366 MB / 0.4997 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002335/0.303, allocations: 191.6 kB / 0.4999 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.639e-05/0.303, allocations: 13.56 kB / 0.4999 GB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003822/0.3034, allocations: 48.05 kB / 0.5 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.3035, allocations: 38.84 kB / 0.5 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/0.3036, allocations: 11.91 kB / 0.5 GB, free: 15.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007092/0.3043, allocations: 0.5679 MB / 0.5006 GB, free: 15.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3043, allocations: 0 / 0.5006 GB, free: 15.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009123/0.3052, allocations: 320 kB / 0.5009 GB, free: 15.25 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.004216/0.3094, allocations: 1.93 MB / 0.5028 GB, free: 13.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002074/0.3115, allocations: 1.186 MB / 0.5039 GB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3115, allocations: 5.281 kB / 0.5039 GB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006759/0.3122, allocations: 410.6 kB / 0.5043 GB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006635/0.3128, allocations: 113.7 kB / 0.5044 GB, free: 12.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.3232, allocations: 6.225 MB / 0.5105 GB, free: 7.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007211/0.324, allocations: 0.9529 MB / 0.5114 GB, free: 6.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003374/0.3243, allocations: 80.56 kB / 0.5115 GB, free: 6.438 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003985/0.3247, allocations: 279.3 kB / 0.5118 GB, free: 6.164 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3247, allocations: 0 / 0.5118 GB, free: 6.164 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05424/0.3789, allocations: 16.25 MB / 0.5277 GB, free: 5.965 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.16, allocations: 12.05 kB / 0.5277 GB, free: 5.953 MB / 398.1 MB (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange3.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange3.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange3.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestOneFlange3_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestOneFlange3.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange3.pipe 2>&1)