Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange1Conn.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.TestOneFlange1Conn,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestOneFlange1Conn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestOneFlange1Conn,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestOneFlange1Conn",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.001556/0.001556, allocations: 102 kB / 15.78 MB, free: 5.93 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.001515/0.001515, allocations: 196.2 kB / 16.72 MB, free: 5.793 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.419/1.419, allocations: 225.6 MB / 243.1 MB, free: 3.691 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04031/0.04031, allocations: 7.891 MB / 303.9 MB, free: 3.188 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 59.91 kB / 423.5 MB, free: 1.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3026, allocations: 54 MB / 477.5 MB, free: 23.33 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange1Conn): time 0.006153/0.3088, allocations: 4.891 MB / 482.4 MB, free: 19.88 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004014/0.3128, allocations: 1.971 MB / 484.4 MB, free: 18.46 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006097/0.3134, allocations: 17.59 kB / 484.4 MB, free: 18.46 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006436/0.314, allocations: 241.3 kB / 484.6 MB, free: 18.35 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006813/0.3147, allocations: 289.9 kB / 484.9 MB, free: 18.17 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.3159, allocations: 0.5476 MB / 485.5 MB, free: 17.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001088/0.317, allocations: 1.037 MB / 486.5 MB, free: 17.3 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005622/0.3176, allocations: 378.2 kB / 486.9 MB, free: 17.06 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004128/0.318, allocations: 400.6 kB / 487.3 MB, free: 16.85 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000483/0.3185, allocations: 453 kB / 487.7 MB, free: 16.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001399/0.3186, allocations: 105.5 kB / 487.8 MB, free: 16.62 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003973/0.319, allocations: 191.9 kB / 488 MB, free: 16.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002363/0.3193, allocations: 238.8 kB / 488.2 MB, free: 16.44 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003581/0.3196, allocations: 486.6 kB / 488.7 MB, free: 16.1 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001512/0.3211, allocations: 1.252 MB / 490 MB, free: 15.55 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3211, allocations: 5.812 kB / 490 MB, free: 15.55 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3211, allocations: 0 / 490 MB, free: 15.55 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.3212, allocations: 0 / 490 MB, free: 15.55 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: 172 * Number of variables: 172 Notification: Performance of Generate backend data structure: time 0.001957/0.3231, allocations: 1.326 MB / 491.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.3232, allocations: 13.39 kB / 491.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001302/0.3233, allocations: 115.1 kB / 491.4 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002149/0.3235, allocations: 108.3 kB / 491.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007975/0.3243, allocations: 0.6126 MB / 492.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.222e-05/0.3243, allocations: 65.62 kB / 492.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-05/0.3244, allocations: 72.16 kB / 492.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.3257, allocations: 0.7153 MB / 493 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/0.3257, allocations: 6.422 kB / 493 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.759e-05/0.3258, allocations: 28.19 kB / 493 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.3258, allocations: 20.19 kB / 493 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.3269, allocations: 0.5135 MB / 493.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003338/0.3303, allocations: 2.654 MB / 496.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009319/0.3312, allocations: 433 kB / 496.6 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003972/0.3316, allocations: 166.3 kB / 496.8 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.812e-05/0.3316, allocations: 5.047 kB / 496.8 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000579/0.3322, allocations: 277.3 kB / 497.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 1.983e-06/0.3322, allocations: 3.938 kB / 497.1 MB, free: 11.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.001687/0.3339, allocations: 0.7341 MB / 497.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.334, allocations: 141.6 kB / 497.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009853/0.335, allocations: 0.793 MB / 498.7 MB, free: 10.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.335, allocations: 33.11 kB / 498.8 MB, free: 10.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002738/0.3353, allocations: 422.3 kB / 499.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.965e-05/0.3353, allocations: 125.2 kB / 499.3 MB, free: 9.938 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.3355, allocations: 92.55 kB / 499.4 MB, free: 9.887 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3356, allocations: 378.1 kB / 499.8 MB, free: 9.547 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004272/0.336, allocations: 179.2 kB / 499.9 MB, free: 9.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004738/0.3365, allocations: 278.6 kB / 0.4885 GB, free: 9.305 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008573/0.3374, allocations: 0.5786 MB / 0.489 GB, free: 8.879 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.3374, allocations: 5.062 kB / 0.489 GB, free: 8.875 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001209/0.3386, allocations: 0.6662 MB / 0.4897 GB, free: 8.512 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.227e-05/0.3386, allocations: 94.81 kB / 0.4898 GB, free: 8.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.3386, allocations: 3.188 kB / 0.4898 GB, free: 8.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001547/0.3388, allocations: 17.92 kB / 0.4898 GB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/0.3392, allocations: 95.06 kB / 0.4899 GB, free: 8.379 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007296/0.3399, allocations: 1.394 MB / 0.4913 GB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004664/0.3404, allocations: 82.14 kB / 0.4913 GB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/0.3404, allocations: 19.81 kB / 0.4914 GB, free: 6.875 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005677/0.341, allocations: 368 kB / 0.4917 GB, free: 6.648 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003922/0.3414, allocations: 268.5 kB / 0.492 GB, free: 6.438 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007361/0.3421, allocations: 0.5463 MB / 0.4925 GB, free: 5.992 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.874e-06/0.3421, allocations: 1.219 kB / 0.4925 GB, free: 5.992 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001057/0.3432, allocations: 0.6381 MB / 0.4931 GB, free: 5.602 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.033e-05/0.3432, allocations: 97.5 kB / 0.4932 GB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3432, allocations: 2.781 kB / 0.4932 GB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.606e-05/0.3433, allocations: 26.38 kB / 0.4932 GB, free: 5.484 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003223/0.3436, allocations: 96.14 kB / 0.4933 GB, free: 5.457 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000618/0.3442, allocations: 1.383 MB / 0.4947 GB, free: 4.016 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004284/0.3446, allocations: 73.7 kB / 0.4948 GB, free: 3.973 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/0.3447, allocations: 15.31 kB / 0.4948 GB, free: 3.973 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 (tauRef1.count,$PRE.tauRef1.count,tauRef1.T_start,$PRE.tauRef1.T_start,oneFlange.limTau.state,$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.0001712/0.3448, allocations: 285.5 kB / 0.495 GB, free: 3.691 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-05/0.3449, allocations: 73.34 kB / 0.4951 GB, free: 3.652 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.346, allocations: 0.5332 MB / 0.4956 GB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.346, allocations: 4.094 kB / 0.4956 GB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.346, allocations: 11.92 kB / 0.4956 GB, free: 3.301 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.346, allocations: 1.344 kB / 0.4957 GB, free: 3.301 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/0.3478, allocations: 1.274 MB / 0.4969 GB, free: 2.352 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.3478, allocations: 4 kB / 0.4969 GB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003084/0.3481, allocations: 67.86 kB / 0.497 GB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.34e-05/0.3482, allocations: 22.97 kB / 0.497 GB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.594e-05/0.3482, allocations: 12.41 kB / 0.497 GB, free: 2.305 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005883/0.3488, allocations: 1.377 MB / 0.4983 GB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3488, allocations: 0 / 0.4983 GB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.3502, allocations: 0.8281 MB / 0.4992 GB, free: 344 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/0.3504, allocations: 198.2 kB / 0.4993 GB, free: 152 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.657e-05/0.3504, allocations: 15.09 kB / 0.4994 GB, free: 144 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003566/0.3508, allocations: 40.95 kB / 0.4994 GB, free: 128 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.927e-05/0.3509, allocations: 32.02 kB / 0.4994 GB, free: 108 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/0.3509, allocations: 14.78 kB / 0.4994 GB, free: 104 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007309/0.3517, allocations: 0.5558 MB / 0.5 GB, free: 15.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3517, allocations: 0 / 0.5 GB, free: 15.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009159/0.3526, allocations: 317.2 kB / 0.5003 GB, free: 15.71 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,oneFlange.limTau.state,tauRef1.T_start,tauRef1.count) * Number of discrete states: 2 (tauRef1.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.004062/0.3566, allocations: 1.888 MB / 0.5021 GB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002203/0.3588, allocations: 1.183 MB / 0.5033 GB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3588, allocations: 5.312 kB / 0.5033 GB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006593/0.3595, allocations: 422 kB / 0.5037 GB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007277/0.3602, allocations: 124.7 kB / 0.5038 GB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.3704, allocations: 6.221 MB / 0.5099 GB, free: 8.188 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007009/0.3711, allocations: 0.9603 MB / 0.5108 GB, free: 7.199 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003856/0.3715, allocations: 88.53 kB / 0.5109 GB, free: 7.113 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004139/0.3719, allocations: 283.3 kB / 0.5112 GB, free: 6.836 MB / 382.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3719, allocations: 0 / 0.5112 GB, free: 6.836 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05072/0.4227, allocations: 15.79 MB / 0.5266 GB, free: 7.137 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.11, allocations: 2.812 kB / 0.5266 GB, free: 7.137 MB / 398.1 MB (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange1Conn.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange1Conn.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange1Conn.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange1Conn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestOneFlange1Conn_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestOneFlange1Conn.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange1Conn.pipe 2>&1)