Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.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/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/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.TestOneFlange,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestOneFlange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestOneFlange,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestOneFlange",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.004775/0.004775, allocations: 101.3 kB / 15.73 MB, free: 6.055 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.00126/0.00126, allocations: 197.6 kB / 16.68 MB, free: 5.957 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo): time 0.03944/0.03944, allocations: 8.045 MB / 298.6 MB, free: 6.785 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 71.88 kB / 412.6 MB, free: 22.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07955/0.08136, allocations: 51.19 MB / 463.8 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.005641/0.08703, allocations: 4.114 MB / 467.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002393/0.08945, allocations: 1.407 MB / 469.3 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002392/0.08972, allocations: 12 kB / 469.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004002/0.09013, allocations: 158.8 kB / 469.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004784/0.09062, allocations: 190.5 kB / 469.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006883/0.09132, allocations: 382.5 kB / 470 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008733/0.0922, allocations: 0.849 MB / 470.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006021/0.09282, allocations: 450.5 kB / 471.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003814/0.0932, allocations: 314.9 kB / 471.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004112/0.09363, allocations: 354.4 kB / 472 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.09376, allocations: 96 kB / 472 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.09396, allocations: 116 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002211/0.09419, allocations: 211.3 kB / 472.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003841/0.09458, allocations: 394.1 kB / 472.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.0957, allocations: 1.035 MB / 473.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.09572, allocations: 0 / 473.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.09573, allocations: 0 / 473.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.09574, allocations: 0 / 473.8 MB, free: 9.492 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.001901/0.09765, allocations: 1.125 MB / 474.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.0977, allocations: 12.02 kB / 474.9 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001271/0.09783, allocations: 102.7 kB / 475 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.09797, allocations: 88.36 kB / 475.1 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007332/0.09871, allocations: 0.5092 MB / 475.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.088e-05/0.09877, allocations: 49.31 kB / 475.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.572e-05/0.09887, allocations: 64 kB / 475.7 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.1001, allocations: 0.6527 MB / 476.4 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.1002, allocations: 0 / 476.4 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.819e-05/0.1002, allocations: 28 kB / 476.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.1003, allocations: 16 kB / 476.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.1014, allocations: 476.9 kB / 476.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003567/0.105, allocations: 2.494 MB / 479.4 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.106, allocations: 430.6 kB / 479.8 MB, free: 3.176 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004309/0.1065, allocations: 173 kB / 480 MB, free: 3.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.801e-05/0.1065, allocations: 12.16 kB / 480 MB, free: 2.992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005856/0.1071, allocations: 257.7 kB / 480.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.984e-06/0.1071, allocations: 0 / 480.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001673/0.1088, allocations: 0.6897 MB / 480.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.343e-05/0.1089, allocations: 140.5 kB / 481.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006912/0.1096, allocations: 0.5567 MB / 481.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.127e-05/0.1097, allocations: 37.7 kB / 481.7 MB, free: 1.215 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002778/0.1099, allocations: 348 kB / 482 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.723e-05/0.11, allocations: 107.1 kB / 482.1 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.1102, allocations: 81.64 kB / 482.2 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.1104, allocations: 358.8 kB / 482.5 MB, free: 328 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004416/0.1108, allocations: 165.2 kB / 482.7 MB, free: 156 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000511/0.1113, allocations: 258.4 kB / 482.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009868/0.1123, allocations: 0.5348 MB / 483.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1124, allocations: 0 / 483.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00128/0.1136, allocations: 0.5846 MB / 484.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.269e-05/0.1137, allocations: 97.03 kB / 484.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.1137, allocations: 4 kB / 484.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001467/0.1139, allocations: 25.23 kB / 484.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003418/0.1142, allocations: 83.81 kB / 484.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/0.1154, allocations: 1.386 MB / 485.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000427/0.1158, allocations: 75.58 kB / 485.7 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.868e-05/0.1159, allocations: 23.94 kB / 485.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005986/0.1165, allocations: 316.6 kB / 486.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004484/0.117, allocations: 242.9 kB / 486.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008953/0.1179, allocations: 0.5148 MB / 486.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.804e-06/0.1179, allocations: 4 kB / 486.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001133/0.119, allocations: 0.5576 MB / 487.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.245e-05/0.1191, allocations: 93.09 kB / 487.5 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.1191, allocations: 4 kB / 487.5 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.59e-05/0.1192, allocations: 24.86 kB / 487.5 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/0.1195, allocations: 75.88 kB / 487.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/0.1206, allocations: 1.386 MB / 489 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004234/0.121, allocations: 67.89 kB / 489 MB, free: 9.215 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/0.1211, allocations: 16 kB / 489 MB, free: 9.199 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.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.0002453/0.1213, allocations: 271.5 kB / 489.3 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.427e-05/0.1214, allocations: 59.61 kB / 489.4 MB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/0.1225, allocations: 496 kB / 489.8 MB, free: 8.348 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.1226, allocations: 4 kB / 489.9 MB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.1226, allocations: 0 / 489.9 MB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.1226, allocations: 0 / 489.9 MB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.1244, allocations: 1.143 MB / 491 MB, free: 7.129 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1245, allocations: 0 / 491 MB, free: 7.129 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000302/0.1248, allocations: 55.89 kB / 491.1 MB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.569e-05/0.1249, allocations: 24.84 kB / 491.1 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/0.1249, allocations: 15.94 kB / 491.1 MB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/0.126, allocations: 1.371 MB / 492.5 MB, free: 5.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.126, allocations: 0 / 492.5 MB, free: 5.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/0.1276, allocations: 0.7703 MB / 493.2 MB, free: 4.715 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.1277, allocations: 136.8 kB / 493.4 MB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.571e-05/0.1278, allocations: 8 kB / 493.4 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003719/0.1282, allocations: 43.95 kB / 493.4 MB, free: 4.512 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.1283, allocations: 39.89 kB / 493.5 MB, free: 4.473 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/0.1283, allocations: 12 kB / 493.5 MB, free: 4.461 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004877/0.1288, allocations: 410.8 kB / 493.9 MB, free: 4.062 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1288, allocations: 0 / 493.9 MB, free: 4.062 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007844/0.1296, allocations: 271.2 kB / 494.1 MB, free: 3.797 MB / 366.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.constPDC.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 (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.003041/0.1327, allocations: 1.575 MB / 495.7 MB, free: 2.316 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00207/0.1347, allocations: 1.163 MB / 496.9 MB, free: 1.055 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.1348, allocations: 4 kB / 496.9 MB, free: 1.051 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006832/0.1355, allocations: 425.4 kB / 497.3 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000581/0.1361, allocations: 86.67 kB / 497.4 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008108/0.1442, allocations: 5.345 MB / 0.4909 GB, free: 10.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000534/0.1447, allocations: 0.8932 MB / 0.4918 GB, free: 10.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002405/0.145, allocations: 63.36 kB / 0.4919 GB, free: 10 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003133/0.1453, allocations: 211.4 kB / 0.4921 GB, free: 9.797 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1453, allocations: 0 / 0.4921 GB, free: 9.797 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.742/1.888, allocations: 12.75 MB / 0.5045 GB, free: 47.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.04/15.93, allocations: 6.219 kB / 0.5045 GB, free: 47.7 MB / 382.1 MB (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_MapBased_TestingModels_TestOneFlange_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 EHPTlib_EHPTlib_MapBased_TestingModels_TestOneFlange.fmu > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe 2>&1)