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.001183/0.001183, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001197/0.001197, allocations: 195.3 kB / 16.14 MB, free: 6.695 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.267/1.267, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1475/0.1475, allocations: 8.03 MB / 298 MB, free: 2.441 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 67.91 kB / 360.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09148/0.09262, allocations: 51.19 MB / 411.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.004822/0.09748, allocations: 4.156 MB / 415.4 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00196/0.09946, allocations: 1.411 MB / 416.8 MB, free: 5.887 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002249/0.09969, allocations: 15.94 kB / 416.8 MB, free: 5.871 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003683/0.1001, allocations: 119.3 kB / 416.9 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003706/0.1005, allocations: 175 kB / 417.1 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005447/0.101, allocations: 335.7 kB / 417.4 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000599/0.1016, allocations: 0.7635 MB / 418.2 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005381/0.1022, allocations: 438.8 kB / 418.6 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002521/0.1024, allocations: 274.9 kB / 418.9 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002966/0.1027, allocations: 346.4 kB / 419.2 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.672e-05/0.1028, allocations: 48 kB / 419.3 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.103, allocations: 76 kB / 419.4 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.1031, allocations: 167.3 kB / 419.5 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002923/0.1034, allocations: 366.1 kB / 419.9 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007424/0.1042, allocations: 0.9814 MB / 420.9 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1042, allocations: 0 / 420.9 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1042, allocations: 0 / 420.9 MB, free: 1.801 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.527e-06/0.1042, allocations: 3.938 kB / 420.9 MB, free: 1.797 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.00163/0.1059, allocations: 1.124 MB / 422 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.1059, allocations: 8.031 kB / 422 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001148/0.106, allocations: 114.7 kB / 422.1 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.1061, allocations: 80 kB / 422.2 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1532/0.2594, allocations: 0.4979 MB / 422.7 MB, free: 44.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.505e-05/0.2595, allocations: 51.84 kB / 422.7 MB, free: 44.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.2596, allocations: 67.53 kB / 422.8 MB, free: 44.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.2609, allocations: 0.67 MB / 423.5 MB, free: 44.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.2609, allocations: 4.438 kB / 423.5 MB, free: 44.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.281e-05/0.261, allocations: 27.03 kB / 423.5 MB, free: 44.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.261, allocations: 18.5 kB / 423.5 MB, free: 44.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.262, allocations: 492.8 kB / 424 MB, free: 44.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00322/0.2653, allocations: 2.579 MB / 426.6 MB, free: 43.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008338/0.2661, allocations: 429.7 kB / 427 MB, free: 42.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003382/0.2665, allocations: 172.8 kB / 427.2 MB, free: 42.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.2665, allocations: 4.562 kB / 427.2 MB, free: 42.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005708/0.2671, allocations: 264.6 kB / 427.4 MB, free: 42.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.555e-06/0.2671, allocations: 0 / 427.4 MB, free: 42.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001361/0.2685, allocations: 0.6787 MB / 428.1 MB, free: 42.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.2685, allocations: 142.2 kB / 428.3 MB, free: 42.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004943/0.269, allocations: 0.5662 MB / 428.8 MB, free: 41.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.2691, allocations: 36.17 kB / 428.9 MB, free: 41.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.2692, allocations: 350.5 kB / 429.2 MB, free: 41.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.975e-05/0.2693, allocations: 102.7 kB / 429.3 MB, free: 41.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.2694, allocations: 80.83 kB / 429.4 MB, free: 41.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.957e-05/0.2695, allocations: 364.5 kB / 429.7 MB, free: 41.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003735/0.2699, allocations: 158.5 kB / 429.9 MB, free: 41.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003779/0.2703, allocations: 255 kB / 430.1 MB, free: 40.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007089/0.271, allocations: 0.5324 MB / 430.7 MB, free: 40.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.271, allocations: 0 / 430.7 MB, free: 40.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00098/0.272, allocations: 0.591 MB / 431.3 MB, free: 40.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.977e-05/0.272, allocations: 91.03 kB / 431.3 MB, free: 40.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/0.2721, allocations: 6.938 kB / 431.4 MB, free: 40.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000163/0.2722, allocations: 24.89 kB / 431.4 MB, free: 40.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.2725, allocations: 83.92 kB / 431.5 MB, free: 40.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006804/0.2732, allocations: 1.288 MB / 432.8 MB, free: 38.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003854/0.2736, allocations: 75.42 kB / 432.8 MB, free: 38.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.208e-05/0.2737, allocations: 23.88 kB / 432.8 MB, free: 38.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000444/0.2741, allocations: 315.4 kB / 433.2 MB, free: 38.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003343/0.2744, allocations: 249.3 kB / 433.4 MB, free: 38.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006283/0.2751, allocations: 0.5105 MB / 433.9 MB, free: 38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.085e-06/0.2751, allocations: 0.9375 kB / 433.9 MB, free: 38 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008604/0.276, allocations: 0.5621 MB / 434.5 MB, free: 37.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/0.276, allocations: 97.7 kB / 434.6 MB, free: 37.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.276, allocations: 3.156 kB / 434.6 MB, free: 37.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.596e-05/0.2761, allocations: 25.03 kB / 434.6 MB, free: 37.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002577/0.2763, allocations: 82.11 kB / 434.7 MB, free: 37.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005653/0.2769, allocations: 1.272 MB / 435.9 MB, free: 36.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003567/0.2773, allocations: 75.36 kB / 436 MB, free: 36.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/0.2773, allocations: 20.62 kB / 436 MB, free: 36.27 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.0001391/0.2775, allocations: 269.8 kB / 436.3 MB, free: 36.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.248e-05/0.2776, allocations: 52.94 kB / 436.4 MB, free: 35.99 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008914/0.2785, allocations: 0.4938 MB / 436.9 MB, free: 35.74 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.2785, allocations: 3.188 kB / 436.9 MB, free: 35.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.2785, allocations: 0 / 436.9 MB, free: 35.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.2785, allocations: 3.938 kB / 436.9 MB, free: 35.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/0.28, allocations: 1.139 MB / 438 MB, free: 35.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.28, allocations: 3.281 kB / 438 MB, free: 35.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002726/0.2803, allocations: 64 kB / 438.1 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.341e-05/0.2804, allocations: 26.12 kB / 438.1 MB, free: 35.06 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/0.2804, allocations: 11.11 kB / 438.1 MB, free: 35.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006294/0.281, allocations: 1.285 MB / 439.4 MB, free: 33.74 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.281, allocations: 0 / 439.4 MB, free: 33.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.2823, allocations: 0.7721 MB / 440.2 MB, free: 33.31 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.238e-05/0.2824, allocations: 131.3 kB / 440.3 MB, free: 33.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.112e-05/0.2824, allocations: 10.28 kB / 440.3 MB, free: 33.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003372/0.2828, allocations: 39.81 kB / 440.3 MB, free: 33.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.2829, allocations: 31.89 kB / 440.4 MB, free: 33.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.2829, allocations: 21.17 kB / 440.4 MB, free: 33.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003515/0.2833, allocations: 411.9 kB / 440.8 MB, free: 32.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2833, allocations: 0 / 440.8 MB, free: 32.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000662/0.2839, allocations: 278.4 kB / 441.1 MB, free: 32.91 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.002274/0.2862, allocations: 1.56 MB / 442.6 MB, free: 31.94 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001524/0.2878, allocations: 1.167 MB / 443.8 MB, free: 31.13 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2878, allocations: 0.8125 kB / 443.8 MB, free: 31.13 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004884/0.2883, allocations: 431.4 kB / 444.2 MB, free: 30.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005317/0.2888, allocations: 93.39 kB / 444.3 MB, free: 30.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00666/0.2955, allocations: 5.71 MB / 450 MB, free: 27.37 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.2958, allocations: 0.8982 MB / 450.9 MB, free: 26.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002297/0.296, allocations: 59.58 kB / 451 MB, free: 26.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002437/0.2963, allocations: 216.7 kB / 451.2 MB, free: 26.47 MB / 350.1 MB Notification: Performance of SimCode: time 1.132e-06/0.2963, allocations: 0 / 451.2 MB, free: 26.47 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0242/0.3205, allocations: 11.94 MB / 463.1 MB, free: 25.26 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/0.3207, allocations: 267.7 kB / 463.4 MB, free: 24.92 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.869/2.189, allocations: 0 / 463.4 MB, free: 24.92 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)