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.001186/0.001186, 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.001291/0.00129, allocations: 195 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.363/1.363, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1488/0.1488, allocations: 8.025 MB / 298.4 MB, free: 2.383 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 71.89 kB / 360.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1043, allocations: 51.18 MB / 411.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.006088/0.1104, allocations: 4.127 MB / 416.1 MB, free: 6.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002861/0.1133, allocations: 1.422 MB / 417.5 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003696/0.1137, allocations: 15.94 kB / 417.5 MB, free: 5.379 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000583/0.1143, allocations: 146.8 kB / 417.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000713/0.1151, allocations: 202.5 kB / 417.8 MB, free: 5.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.1161, allocations: 387 kB / 418.2 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001086/0.1172, allocations: 0.8456 MB / 419.1 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000911/0.1181, allocations: 495.5 kB / 419.5 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000504/0.1186, allocations: 323 kB / 419.9 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005325/0.1192, allocations: 370.3 kB / 420.2 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.1194, allocations: 96 kB / 420.3 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002883/0.1197, allocations: 128 kB / 420.4 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002976/0.12, allocations: 211.4 kB / 420.6 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005281/0.1205, allocations: 406.1 kB / 421 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.1219, allocations: 1.028 MB / 422.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.122, allocations: 0 / 422.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.122, allocations: 0 / 422.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.122, allocations: 0 / 422.1 MB, free: 0.7734 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.2077/0.3298, allocations: 1.118 MB / 423.2 MB, free: 44.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.534e-05/0.3298, allocations: 13.22 kB / 423.2 MB, free: 44.42 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002908/0.3301, allocations: 107 kB / 423.3 MB, free: 44.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002734/0.3304, allocations: 84.09 kB / 423.4 MB, free: 44.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.3315, allocations: 0.5012 MB / 423.9 MB, free: 44.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.804e-05/0.3316, allocations: 51.16 kB / 423.9 MB, free: 44.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.3317, allocations: 64.95 kB / 424 MB, free: 44.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.3332, allocations: 0.6723 MB / 424.7 MB, free: 43.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/0.3333, allocations: 10.84 kB / 424.7 MB, free: 43.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.607e-05/0.3334, allocations: 24.25 kB / 424.7 MB, free: 43.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.3334, allocations: 17.09 kB / 424.7 MB, free: 43.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.3345, allocations: 490.9 kB / 425.2 MB, free: 43.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003739/0.3383, allocations: 2.584 MB / 427.8 MB, free: 42.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008455/0.3391, allocations: 428.6 kB / 428.2 MB, free: 42.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003572/0.3395, allocations: 167.4 kB / 428.4 MB, free: 42.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.3395, allocations: 6.641 kB / 428.4 MB, free: 42.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006079/0.3402, allocations: 261.3 kB / 428.6 MB, free: 42.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.673e-06/0.3402, allocations: 1.75 kB / 428.6 MB, free: 42.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001471/0.3417, allocations: 0.6767 MB / 429.3 MB, free: 41.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.3417, allocations: 142.7 kB / 429.4 MB, free: 41.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006196/0.3423, allocations: 0.5702 MB / 430 MB, free: 41.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.3424, allocations: 36.08 kB / 430.1 MB, free: 41.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.3426, allocations: 346 kB / 430.4 MB, free: 41.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.584e-05/0.3427, allocations: 103.5 kB / 430.5 MB, free: 41.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.3428, allocations: 75.03 kB / 430.6 MB, free: 40.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.221e-05/0.3429, allocations: 361.1 kB / 430.9 MB, free: 40.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003809/0.3433, allocations: 165.8 kB / 431.1 MB, free: 40.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003894/0.3437, allocations: 257.6 kB / 431.3 MB, free: 40.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007551/0.3444, allocations: 0.5287 MB / 431.9 MB, free: 40.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.3445, allocations: 0.6562 kB / 431.9 MB, free: 40.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001019/0.3455, allocations: 0.5916 MB / 432.5 MB, free: 39.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.273e-05/0.3455, allocations: 94.05 kB / 432.5 MB, free: 39.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.3455, allocations: 3.219 kB / 432.5 MB, free: 39.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001344/0.3457, allocations: 25.86 kB / 432.6 MB, free: 39.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002955/0.346, allocations: 82.55 kB / 432.7 MB, free: 39.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006902/0.3467, allocations: 1.383 MB / 434 MB, free: 38.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004092/0.3471, allocations: 79.64 kB / 434.1 MB, free: 38.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.3472, allocations: 19.97 kB / 434.1 MB, free: 38.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004704/0.3476, allocations: 318.9 kB / 434.4 MB, free: 38.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003532/0.348, allocations: 244 kB / 434.7 MB, free: 37.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006714/0.3487, allocations: 0.5238 MB / 435.2 MB, free: 37.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.806e-06/0.3487, allocations: 0 / 435.2 MB, free: 37.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.000933/0.3496, allocations: 0.559 MB / 435.8 MB, free: 37.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.586e-05/0.3497, allocations: 91.41 kB / 435.9 MB, free: 37.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.3497, allocations: 3.25 kB / 435.9 MB, free: 37.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.395e-05/0.3498, allocations: 28.58 kB / 435.9 MB, free: 37.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/0.35, allocations: 75.69 kB / 436 MB, free: 37.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006298/0.3507, allocations: 1.385 MB / 437.3 MB, free: 35.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003952/0.3511, allocations: 68.97 kB / 437.4 MB, free: 35.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.3511, allocations: 17.25 kB / 437.4 MB, free: 35.64 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.0001656/0.3513, allocations: 265.2 kB / 437.7 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.118e-05/0.3514, allocations: 61.66 kB / 437.7 MB, free: 35.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009881/0.3524, allocations: 0.4915 MB / 438.2 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3524, allocations: 3.406 kB / 438.2 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.3524, allocations: 0 / 438.2 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.3524, allocations: 11.2 kB / 438.3 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/0.354, allocations: 1.139 MB / 439.4 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.354, allocations: 0 / 439.4 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002696/0.3543, allocations: 62.81 kB / 439.5 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.399e-05/0.3544, allocations: 25.47 kB / 439.5 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.3544, allocations: 10.84 kB / 439.5 MB, free: 34.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006/0.355, allocations: 1.378 MB / 440.9 MB, free: 33.01 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.355, allocations: 0 / 440.9 MB, free: 33.01 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.3563, allocations: 0.7606 MB / 441.6 MB, free: 32.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.56e-05/0.3564, allocations: 138.5 kB / 441.8 MB, free: 32.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.147e-05/0.3565, allocations: 11.31 kB / 441.8 MB, free: 32.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003524/0.3568, allocations: 43.66 kB / 441.8 MB, free: 32.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.3569, allocations: 34.95 kB / 441.9 MB, free: 32.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.357, allocations: 11.78 kB / 441.9 MB, free: 32.44 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003964/0.3574, allocations: 410.9 kB / 442.3 MB, free: 32.26 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3574, allocations: 0 / 442.3 MB, free: 32.26 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007387/0.3581, allocations: 281 kB / 442.5 MB, free: 32.18 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.002159/0.3603, allocations: 1.564 MB / 444.1 MB, free: 31.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001741/0.362, allocations: 1.179 MB / 445.3 MB, free: 30.4 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.3621, allocations: 3.062 kB / 445.3 MB, free: 30.4 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000522/0.3626, allocations: 431.4 kB / 445.7 MB, free: 30.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000545/0.3631, allocations: 99.78 kB / 445.8 MB, free: 30.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006464/0.3696, allocations: 5.468 MB / 451.3 MB, free: 26.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.37, allocations: 0.8927 MB / 452.2 MB, free: 26.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002706/0.3703, allocations: 66.91 kB / 452.2 MB, free: 26.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002632/0.3706, allocations: 217.5 kB / 452.4 MB, free: 26 MB / 350.1 MB Notification: Performance of SimCode: time 9.91e-07/0.3706, allocations: 0 / 452.4 MB, free: 26 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03794/0.4085, allocations: 12.55 MB / 465 MB, free: 24.63 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.358/9.766, allocations: 9.359 kB / 465 MB, free: 24.62 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 & python3 -m fmpy simulate --output-file EHPTlib_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_EHPTlib_MapBased_TestingModels_TestOneFlangeConn.fmu > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe 2>&1)