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.001635/0.001635, allocations: 108 kB / 15.6 MB, free: 132 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.001713/0.001713, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.323/1.323, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1367/0.1367, allocations: 8.027 MB / 298.4 MB, free: 2.309 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 63.91 kB / 360.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08624/0.0876, allocations: 51.19 MB / 411.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.005653/0.09327, allocations: 4.138 MB / 416.1 MB, free: 6.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00245/0.09575, allocations: 1.422 MB / 417.5 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004408/0.09621, allocations: 15.94 kB / 417.5 MB, free: 5.375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004674/0.09669, allocations: 142.8 kB / 417.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006659/0.09739, allocations: 198.5 kB / 417.8 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008182/0.09822, allocations: 394.9 kB / 418.2 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008897/0.09912, allocations: 0.8339 MB / 419.1 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006884/0.09981, allocations: 499.5 kB / 419.5 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000397/0.1002, allocations: 326.9 kB / 419.9 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000442/0.1007, allocations: 354.4 kB / 420.2 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001527/0.1008, allocations: 96 kB / 420.3 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002148/0.1011, allocations: 136 kB / 420.4 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001951/0.1013, allocations: 207.4 kB / 420.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003435/0.1016, allocations: 414 kB / 421 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008562/0.1025, allocations: 1.02 MB / 422.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1025, allocations: 3.938 kB / 422.1 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1025, allocations: 0 / 422.1 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.1025, allocations: 0 / 422.1 MB, free: 0.7812 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.1406/0.2432, allocations: 1.12 MB / 423.2 MB, free: 44.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.2432, allocations: 7.312 kB / 423.2 MB, free: 44.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001213/0.2434, allocations: 112.3 kB / 423.3 MB, free: 44.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.2435, allocations: 82.06 kB / 423.4 MB, free: 44.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006035/0.2441, allocations: 0.5014 MB / 423.9 MB, free: 43.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.09e-05/0.2442, allocations: 52.91 kB / 423.9 MB, free: 43.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.569e-05/0.2443, allocations: 67.47 kB / 424 MB, free: 43.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.2454, allocations: 0.6684 MB / 424.7 MB, free: 43.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.2454, allocations: 9.875 kB / 424.7 MB, free: 43.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.108e-05/0.2455, allocations: 23.75 kB / 424.7 MB, free: 43.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.2455, allocations: 18.84 kB / 424.7 MB, free: 43.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.2465, allocations: 495 kB / 425.2 MB, free: 43.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003161/0.2497, allocations: 2.584 MB / 427.8 MB, free: 42.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009417/0.2506, allocations: 428.6 kB / 428.2 MB, free: 42.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003634/0.251, allocations: 170.5 kB / 428.4 MB, free: 42.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.19e-05/0.2511, allocations: 8.109 kB / 428.4 MB, free: 42.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005558/0.2516, allocations: 256.8 kB / 428.6 MB, free: 42.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.733e-06/0.2516, allocations: 0 / 428.6 MB, free: 42.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001433/0.2531, allocations: 0.6815 MB / 429.3 MB, free: 41.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.2531, allocations: 136 kB / 429.4 MB, free: 41.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005234/0.2537, allocations: 0.5672 MB / 430 MB, free: 41.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.2537, allocations: 32.92 kB / 430 MB, free: 41.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.2539, allocations: 352 kB / 430.4 MB, free: 40.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.981e-05/0.2539, allocations: 106.8 kB / 430.5 MB, free: 40.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.254, allocations: 76.83 kB / 430.6 MB, free: 40.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.647e-05/0.2541, allocations: 360.4 kB / 430.9 MB, free: 40.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003776/0.2545, allocations: 162.3 kB / 431.1 MB, free: 40.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003928/0.2549, allocations: 255 kB / 431.3 MB, free: 40.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007713/0.2557, allocations: 0.5303 MB / 431.9 MB, free: 39.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2557, allocations: 0 / 431.9 MB, free: 39.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001/0.2567, allocations: 0.5946 MB / 432.5 MB, free: 39.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.836e-05/0.2567, allocations: 90.53 kB / 432.5 MB, free: 39.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.2568, allocations: 5.344 kB / 432.5 MB, free: 39.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001346/0.2569, allocations: 32.75 kB / 432.6 MB, free: 39.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/0.2572, allocations: 81.36 kB / 432.7 MB, free: 39.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006617/0.2579, allocations: 1.382 MB / 434 MB, free: 38.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003992/0.2583, allocations: 74.89 kB / 434.1 MB, free: 38.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.2583, allocations: 17 kB / 434.1 MB, free: 38.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004656/0.2588, allocations: 313.8 kB / 434.4 MB, free: 37.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003613/0.2592, allocations: 256.1 kB / 434.7 MB, free: 37.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006816/0.2599, allocations: 0.5175 MB / 435.2 MB, free: 37.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.873e-06/0.2599, allocations: 0 / 435.2 MB, free: 37.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0009094/0.2608, allocations: 0.5627 MB / 435.8 MB, free: 37.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/0.2608, allocations: 86.89 kB / 435.8 MB, free: 36.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2608, allocations: 7.156 kB / 435.9 MB, free: 36.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.925e-05/0.2609, allocations: 26.92 kB / 435.9 MB, free: 36.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002776/0.2612, allocations: 83.12 kB / 436 MB, free: 36.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005648/0.2618, allocations: 1.376 MB / 437.3 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003809/0.2622, allocations: 66.47 kB / 437.4 MB, free: 35.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/0.2622, allocations: 16.81 kB / 437.4 MB, free: 35.49 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.000121/0.2623, allocations: 267.8 kB / 437.7 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.439e-05/0.2624, allocations: 56.25 kB / 437.7 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009585/0.2634, allocations: 0.4966 MB / 438.2 MB, free: 34.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.2634, allocations: 3.094 kB / 438.2 MB, free: 34.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.2634, allocations: 3.516 kB / 438.2 MB, free: 34.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.2634, allocations: 0 / 438.2 MB, free: 34.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.2649, allocations: 1.148 MB / 439.4 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.2649, allocations: 1.078 kB / 439.4 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002798/0.2652, allocations: 59.33 kB / 439.4 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-05/0.2652, allocations: 18.11 kB / 439.5 MB, free: 34.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.2653, allocations: 18.5 kB / 439.5 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005707/0.2658, allocations: 1.384 MB / 440.9 MB, free: 32.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2659, allocations: 0 / 440.9 MB, free: 32.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.2671, allocations: 0.7685 MB / 441.6 MB, free: 32.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.01e-05/0.2672, allocations: 131.9 kB / 441.8 MB, free: 32.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.468e-05/0.2673, allocations: 10.34 kB / 441.8 MB, free: 32.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003688/0.2677, allocations: 46.16 kB / 441.8 MB, free: 32.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.903e-05/0.2678, allocations: 31.47 kB / 441.9 MB, free: 32.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/0.2678, allocations: 10.28 kB / 441.9 MB, free: 32.28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003915/0.2682, allocations: 412.3 kB / 442.3 MB, free: 32.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2682, allocations: 0 / 442.3 MB, free: 32.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006926/0.2689, allocations: 279.2 kB / 442.5 MB, free: 32.02 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.002153/0.2711, allocations: 1.563 MB / 444.1 MB, free: 31.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001648/0.2727, allocations: 1.181 MB / 445.3 MB, free: 30.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2728, allocations: 0 / 445.3 MB, free: 30.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005093/0.2733, allocations: 428.9 kB / 445.7 MB, free: 29.94 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005119/0.2738, allocations: 96.23 kB / 445.8 MB, free: 29.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00613/0.2799, allocations: 5.482 MB / 451.3 MB, free: 26.74 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.2802, allocations: 0.891 MB / 452.2 MB, free: 26.03 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000224/0.2805, allocations: 64.73 kB / 452.2 MB, free: 26.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002303/0.2807, allocations: 212.9 kB / 452.4 MB, free: 25.85 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2807, allocations: 0 / 452.4 MB, free: 25.85 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03524/0.316, allocations: 12.57 MB / 465 MB, free: 24.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.422/9.738, allocations: 1.375 kB / 465 MB, free: 24.48 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestOneFlangeConn_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestOneFlangeConn.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe 2>&1)