Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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_latest_EHPTlib_MapBased_TestingModels_TestOneFlangeConn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestOneFlangeConn,fileNamePrefix="EHPTlib_latest_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.001292/0.001292, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001414, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1626/0.1626, allocations: 8.028 MB / 298.4 MB, free: 2.312 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 67.89 kB / 360.7 MB, free: 14.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1055, allocations: 51.19 MB / 411.9 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.006738/0.1123, allocations: 4.138 MB / 416.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002762/0.1151, allocations: 1.422 MB / 417.5 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000622/0.1158, allocations: 12 kB / 417.5 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006115/0.1164, allocations: 142.8 kB / 417.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009142/0.1173, allocations: 206.5 kB / 417.8 MB, free: 5.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.1184, allocations: 382.8 kB / 418.2 MB, free: 4.684 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001199/0.1196, allocations: 0.8456 MB / 419.1 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008568/0.1204, allocations: 491.6 kB / 419.5 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006048/0.1211, allocations: 326.8 kB / 419.9 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005856/0.1217, allocations: 362.4 kB / 420.2 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001723/0.1218, allocations: 96 kB / 420.3 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002226/0.1221, allocations: 131.9 kB / 420.4 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002185/0.1223, allocations: 207.4 kB / 420.6 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003934/0.1227, allocations: 410.1 kB / 421 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009713/0.1237, allocations: 1.024 MB / 422.1 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1237, allocations: 0 / 422.1 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.847e-06/0.1237, allocations: 0 / 422.1 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.676e-05/0.1237, allocations: 7.938 kB / 422.1 MB, free: 0.7969 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.1785/0.3023, allocations: 1.112 MB / 423.2 MB, free: 44.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.3023, allocations: 8.875 kB / 423.2 MB, free: 44.44 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001543/0.3025, allocations: 111.7 kB / 423.3 MB, free: 44.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.3027, allocations: 82.97 kB / 423.4 MB, free: 44.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006521/0.3033, allocations: 0.5056 MB / 423.9 MB, free: 44.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.976e-05/0.3034, allocations: 52.34 kB / 423.9 MB, free: 44.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.3035, allocations: 65.81 kB / 424 MB, free: 44.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.3047, allocations: 0.6685 MB / 424.7 MB, free: 44.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.879e-05/0.3048, allocations: 6.969 kB / 424.7 MB, free: 44.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-05/0.3048, allocations: 27.34 kB / 424.7 MB, free: 44.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.3048, allocations: 17.31 kB / 424.7 MB, free: 44.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.306, allocations: 493.8 kB / 425.2 MB, free: 44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003405/0.3094, allocations: 2.578 MB / 427.8 MB, free: 42.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008849/0.3103, allocations: 429.5 kB / 428.2 MB, free: 42.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003649/0.3107, allocations: 174 kB / 428.4 MB, free: 42.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.372e-05/0.3107, allocations: 3.422 kB / 428.4 MB, free: 42.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005831/0.3113, allocations: 259.3 kB / 428.6 MB, free: 42.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.655e-06/0.3113, allocations: 0 / 428.6 MB, free: 42.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001485/0.3128, allocations: 0.6852 MB / 429.3 MB, free: 41.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.3129, allocations: 136.9 kB / 429.4 MB, free: 41.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006211/0.3135, allocations: 0.5666 MB / 430 MB, free: 41.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.3136, allocations: 40.14 kB / 430 MB, free: 41.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.3138, allocations: 353.2 kB / 430.4 MB, free: 41.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.7e-05/0.3138, allocations: 98.53 kB / 430.5 MB, free: 41.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.314, allocations: 78.16 kB / 430.6 MB, free: 41.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.553e-05/0.3141, allocations: 357.7 kB / 430.9 MB, free: 40.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003803/0.3144, allocations: 169.2 kB / 431.1 MB, free: 40.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003984/0.3148, allocations: 254.7 kB / 431.3 MB, free: 40.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007573/0.3156, allocations: 0.5258 MB / 431.9 MB, free: 40.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.3156, allocations: 0 / 431.9 MB, free: 40.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001045/0.3167, allocations: 0.5971 MB / 432.5 MB, free: 39.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.785e-05/0.3167, allocations: 95.03 kB / 432.5 MB, free: 39.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.3168, allocations: 2.938 kB / 432.5 MB, free: 39.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001511/0.3169, allocations: 24.81 kB / 432.6 MB, free: 39.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/0.3172, allocations: 89.17 kB / 432.7 MB, free: 39.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008065/0.318, allocations: 1.379 MB / 434 MB, free: 38.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004413/0.3185, allocations: 76.64 kB / 434.1 MB, free: 38.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.3185, allocations: 20.19 kB / 434.1 MB, free: 38.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005052/0.319, allocations: 318.8 kB / 434.4 MB, free: 38.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003634/0.3194, allocations: 239.2 kB / 434.7 MB, free: 37.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007025/0.3201, allocations: 0.5173 MB / 435.2 MB, free: 37.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.547e-06/0.3201, allocations: 4 kB / 435.2 MB, free: 37.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0009635/0.3211, allocations: 0.5668 MB / 435.8 MB, free: 37.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.045e-05/0.3212, allocations: 90.11 kB / 435.9 MB, free: 37.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.3212, allocations: 3.188 kB / 435.9 MB, free: 37.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.035e-05/0.3213, allocations: 23.64 kB / 435.9 MB, free: 37.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002874/0.3216, allocations: 75.91 kB / 436 MB, free: 37.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006447/0.3222, allocations: 1.39 MB / 437.3 MB, free: 35.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003992/0.3226, allocations: 70.84 kB / 437.4 MB, free: 35.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.3227, allocations: 20.52 kB / 437.4 MB, free: 35.66 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.0001536/0.3228, allocations: 256.3 kB / 437.7 MB, free: 35.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.759e-05/0.3229, allocations: 59.56 kB / 437.7 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009423/0.3239, allocations: 0.5005 MB / 438.2 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.3239, allocations: 3.188 kB / 438.2 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.3239, allocations: 0 / 438.2 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3239, allocations: 0 / 438.2 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/0.3254, allocations: 1.145 MB / 439.4 MB, free: 34.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3254, allocations: 0 / 439.4 MB, free: 34.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002855/0.3257, allocations: 60.02 kB / 439.4 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.76e-05/0.3258, allocations: 29.67 kB / 439.5 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/0.3259, allocations: 11.08 kB / 439.5 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006443/0.3265, allocations: 1.379 MB / 440.9 MB, free: 33.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3265, allocations: 3.422 kB / 440.9 MB, free: 33.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.3278, allocations: 0.7626 MB / 441.6 MB, free: 32.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.3279, allocations: 137.8 kB / 441.8 MB, free: 32.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.298e-05/0.328, allocations: 7.188 kB / 441.8 MB, free: 32.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003664/0.3284, allocations: 47.31 kB / 441.8 MB, free: 32.47 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.99e-05/0.3285, allocations: 30.78 kB / 441.9 MB, free: 32.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-05/0.3285, allocations: 16.33 kB / 441.9 MB, free: 32.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004036/0.329, allocations: 408.1 kB / 442.3 MB, free: 32.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.329, allocations: 0 / 442.3 MB, free: 32.28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007654/0.3297, allocations: 281.8 kB / 442.5 MB, free: 32.2 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.002276/0.332, allocations: 1.556 MB / 444.1 MB, free: 31.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001927/0.334, allocations: 1.188 MB / 445.3 MB, free: 30.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.334, allocations: 0 / 445.3 MB, free: 30.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000567/0.3346, allocations: 421.9 kB / 445.7 MB, free: 30.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006524/0.3352, allocations: 104.2 kB / 445.8 MB, free: 30.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007009/0.3422, allocations: 5.477 MB / 451.3 MB, free: 26.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.3426, allocations: 0.8938 MB / 452.2 MB, free: 26.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002455/0.3428, allocations: 59.73 kB / 452.2 MB, free: 26.19 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/0.3431, allocations: 219.9 kB / 452.4 MB, free: 26.02 MB / 350.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3431, allocations: 3 kB / 452.4 MB, free: 26.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04034/0.3835, allocations: 12.55 MB / 465 MB, free: 24.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.514/9.897, allocations: 8.125 kB / 465 MB, free: 24.66 MB / 350.1 MB (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.sim & python3 -m fmpy simulate --output-file EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestOneFlangeConn.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe 2>&1)