Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.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.TestOneFlangeConn,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestOneFlangeConn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestOneFlangeConn,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestOneFlangeConn",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.0007748/0.0007748, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005006/0.005006, allocations: 173.1 kB / 16.27 MB, free: 6.652 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.28/1.28, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1471/0.1471, allocations: 8.023 MB / 299.5 MB, free: 3.359 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000301/0.000301, allocations: 8 kB / 362.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08456/0.08487, allocations: 52.17 MB / 414.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.004338/0.08925, allocations: 3.744 MB / 418.4 MB, free: 5.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002076/0.09135, allocations: 1.387 MB / 419.8 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002388/0.0916, allocations: 11.94 kB / 419.8 MB, free: 4.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003289/0.09194, allocations: 123.3 kB / 419.9 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003746/0.09232, allocations: 167 kB / 420.1 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005718/0.0929, allocations: 335 kB / 420.4 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006762/0.09359, allocations: 0.7635 MB / 421.2 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005895/0.09419, allocations: 442.8 kB / 421.6 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002573/0.09446, allocations: 234.9 kB / 421.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000302/0.09477, allocations: 282.5 kB / 422.1 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.742e-05/0.09483, allocations: 35.94 kB / 422.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.09497, allocations: 59.98 kB / 422.2 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.09514, allocations: 139.4 kB / 422.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002793/0.09542, allocations: 351.8 kB / 422.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007503/0.09618, allocations: 0.9497 MB / 423.7 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.09619, allocations: 3.938 kB / 423.7 MB, free: 0.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.0962, allocations: 0 / 423.7 MB, free: 0.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.09622, allocations: 4 kB / 423.7 MB, free: 0.5391 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.1631/0.2593, allocations: 0.9867 MB / 424.7 MB, free: 41.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.2593, allocations: 9.281 kB / 424.7 MB, free: 41.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002221/0.2596, allocations: 106.5 kB / 424.8 MB, free: 41.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.2597, allocations: 86.41 kB / 424.9 MB, free: 41.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005944/0.2603, allocations: 0.5063 MB / 425.4 MB, free: 41.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.835e-05/0.2604, allocations: 50.84 kB / 425.4 MB, free: 41.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.725e-05/0.2605, allocations: 72.81 kB / 425.5 MB, free: 41.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.2616, allocations: 0.6779 MB / 426.2 MB, free: 41.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.2616, allocations: 15 kB / 426.2 MB, free: 41.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.174e-05/0.2617, allocations: 23.7 kB / 426.2 MB, free: 41.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.2617, allocations: 16.41 kB / 426.2 MB, free: 41.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.2628, allocations: 0.5107 MB / 426.7 MB, free: 41.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00299/0.2658, allocations: 2.619 MB / 429.3 MB, free: 40.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009375/0.2667, allocations: 462.8 kB / 429.8 MB, free: 40.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003983/0.2671, allocations: 191.6 kB / 430 MB, free: 40.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.644e-05/0.2672, allocations: 8.359 kB / 430 MB, free: 40 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006132/0.2678, allocations: 263.9 kB / 430.2 MB, free: 39.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.814e-06/0.2678, allocations: 3 kB / 430.2 MB, free: 39.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001494/0.2693, allocations: 0.7345 MB / 431 MB, free: 39.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.2694, allocations: 134.9 kB / 431.1 MB, free: 39.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005592/0.2699, allocations: 0.5746 MB / 431.7 MB, free: 39.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.241e-05/0.27, allocations: 33.48 kB / 431.7 MB, free: 39.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.2702, allocations: 345.7 kB / 432.1 MB, free: 39.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.096e-05/0.2703, allocations: 103.3 kB / 432.2 MB, free: 39.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-05/0.2703, allocations: 43.3 kB / 432.2 MB, free: 39.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.088e-05/0.2704, allocations: 358.8 kB / 432.6 MB, free: 38.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003889/0.2708, allocations: 171.4 kB / 432.7 MB, free: 38.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004273/0.2712, allocations: 274.7 kB / 433 MB, free: 38.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008346/0.2721, allocations: 0.5638 MB / 433.6 MB, free: 38.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.2721, allocations: 7.062 kB / 433.6 MB, free: 38.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001022/0.2731, allocations: 0.6239 MB / 434.2 MB, free: 38.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.775e-05/0.2732, allocations: 260.5 kB / 434.4 MB, free: 37.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2732, allocations: 3.344 kB / 434.4 MB, free: 37.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001294/0.2734, allocations: 24.81 kB / 434.5 MB, free: 37.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003037/0.2737, allocations: 91.16 kB / 434.6 MB, free: 37.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006285/0.2743, allocations: 1.29 MB / 435.8 MB, free: 36.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003975/0.2747, allocations: 91.2 kB / 435.9 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.02e-05/0.2748, allocations: 19.22 kB / 436 MB, free: 36.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.278e-06/0.2748, allocations: 3.031 kB / 436 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008626/0.2756, allocations: 0.5462 MB / 436.5 MB, free: 36.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.2757, allocations: 3.219 kB / 436.5 MB, free: 36.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.244e-05/0.2757, allocations: 30.19 kB / 436.5 MB, free: 36.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.276, allocations: 82.47 kB / 436.6 MB, free: 36.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005239/0.2765, allocations: 1.281 MB / 437.9 MB, free: 34.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003541/0.2769, allocations: 84.89 kB / 438 MB, free: 34.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.2769, allocations: 19.34 kB / 438 MB, free: 34.81 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 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,oneFlangeConn.limTau.state,$whenCondition1,oneFlangeConn.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.0002824/0.2772, allocations: 355.7 kB / 438.3 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.782e-05/0.2773, allocations: 57.75 kB / 438.4 MB, free: 34.47 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009408/0.2782, allocations: 0.5217 MB / 438.9 MB, free: 34.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.2783, allocations: 3.156 kB / 438.9 MB, free: 34.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.2783, allocations: 3.938 kB / 438.9 MB, free: 34.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.2783, allocations: 3.188 kB / 438.9 MB, free: 34.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/0.2797, allocations: 1.178 MB / 440.1 MB, free: 33.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2797, allocations: 3.938 kB / 440.1 MB, free: 33.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/0.2799, allocations: 63.36 kB / 440.2 MB, free: 33.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.374e-05/0.28, allocations: 25.81 kB / 440.2 MB, free: 33.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.669e-05/0.28, allocations: 13.75 kB / 440.2 MB, free: 33.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005158/0.2806, allocations: 1.283 MB / 441.5 MB, free: 32.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2806, allocations: 0 / 441.5 MB, free: 32.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.2819, allocations: 0.8128 MB / 442.3 MB, free: 31.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.699e-05/0.282, allocations: 143 kB / 442.5 MB, free: 31.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.767e-05/0.282, allocations: 7.312 kB / 442.5 MB, free: 31.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000355/0.2824, allocations: 57.52 kB / 442.5 MB, free: 31.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.262e-05/0.2825, allocations: 35.38 kB / 442.5 MB, free: 31.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.2825, allocations: 11.25 kB / 442.6 MB, free: 31.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003393/0.2828, allocations: 414.5 kB / 443 MB, free: 31.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2828, allocations: 0.9375 kB / 443 MB, free: 31.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006412/0.2835, allocations: 278.1 kB / 443.2 MB, free: 31.35 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,oneFlangeConn.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,oneFlangeConn.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,oneFlangeConn.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.002106/0.2856, allocations: 1.608 MB / 444.8 MB, free: 30.37 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001593/0.2872, allocations: 1.222 MB / 446.1 MB, free: 29.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2872, allocations: 0 / 446.1 MB, free: 29.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005187/0.2878, allocations: 445 kB / 446.5 MB, free: 29.24 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005545/0.2883, allocations: 93.62 kB / 446.6 MB, free: 29.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006674/0.295, allocations: 5.86 MB / 452.5 MB, free: 25.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.2953, allocations: 0.8929 MB / 453.3 MB, free: 25.05 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002461/0.2956, allocations: 65.5 kB / 453.4 MB, free: 25.04 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002376/0.2958, allocations: 213.3 kB / 453.6 MB, free: 24.88 MB / 350.1 MB Notification: Performance of SimCode: time 8.12e-07/0.2958, allocations: 0 / 453.6 MB, free: 24.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03785/0.3337, allocations: 11.66 MB / 465.3 MB, free: 23.9 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001568/0.3339, allocations: 248.5 kB / 465.5 MB, free: 23.65 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.923/2.257, allocations: 0 / 465.5 MB, free: 23.65 MB / 350.1 MB (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_MapBased_TestingModels_TestOneFlangeConn_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 EHPTlib_EHPTlib_MapBased_TestingModels_TestOneFlangeConn.fmu > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe 2>&1)