Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_latest_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-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.TestOneFlange,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestOneFlange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestOneFlange,fileNamePrefix="EHPTlib_latest_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.0009725/0.0009726, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009931/0.0009931, allocations: 198.4 kB / 16.14 MB, free: 6.656 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.214/1.214, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1277/0.1277, allocations: 8.018 MB / 298 MB, free: 2.367 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 59.91 kB / 360.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08834/0.08947, allocations: 51.19 MB / 411.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.00489/0.09439, allocations: 4.13 MB / 415.4 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.09626, allocations: 1.411 MB / 416.8 MB, free: 5.945 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002018/0.09647, allocations: 8 kB / 416.8 MB, free: 5.938 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003409/0.09682, allocations: 119.3 kB / 416.9 MB, free: 5.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003447/0.09718, allocations: 163 kB / 417.1 MB, free: 5.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005306/0.09771, allocations: 339.4 kB / 417.4 MB, free: 5.332 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005914/0.09831, allocations: 0.7592 MB / 418.2 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004787/0.0988, allocations: 394.1 kB / 418.5 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000247/0.09906, allocations: 270.9 kB / 418.8 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002881/0.09935, allocations: 326.4 kB / 419.1 MB, free: 3.586 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.059e-05/0.09944, allocations: 52 kB / 419.2 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.09959, allocations: 83.98 kB / 419.3 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001999/0.09979, allocations: 155.4 kB / 419.4 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002933/0.1001, allocations: 354.1 kB / 419.8 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008027/0.1009, allocations: 0.9657 MB / 420.7 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1009, allocations: 4 kB / 420.7 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1009, allocations: 0 / 420.7 MB, free: 1.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.1009, allocations: 0 / 420.7 MB, free: 1.98 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.001631/0.1026, allocations: 1.11 MB / 421.8 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.1026, allocations: 8.031 kB / 421.8 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001074/0.1027, allocations: 110.7 kB / 422 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.1029, allocations: 80 kB / 422 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005518/0.1034, allocations: 0.4971 MB / 422.5 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.774e-05/0.1035, allocations: 49.31 kB / 422.6 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1426/0.246, allocations: 68.02 kB / 422.6 MB, free: 44.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.2473, allocations: 0.6498 MB / 423.3 MB, free: 44.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.2474, allocations: 2.5 kB / 423.3 MB, free: 44.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.734e-05/0.2474, allocations: 27.88 kB / 423.3 MB, free: 44.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.2474, allocations: 13.75 kB / 423.3 MB, free: 44.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009412/0.2484, allocations: 481.5 kB / 423.8 MB, free: 44.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002812/0.2512, allocations: 2.518 MB / 426.3 MB, free: 43.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007473/0.252, allocations: 418.4 kB / 426.7 MB, free: 43.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000336/0.2523, allocations: 171.1 kB / 426.9 MB, free: 43.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.2524, allocations: 3.422 kB / 426.9 MB, free: 43.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005449/0.2529, allocations: 252.7 kB / 427.2 MB, free: 42.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.004e-06/0.2529, allocations: 0 / 427.2 MB, free: 42.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001307/0.2542, allocations: 0.6869 MB / 427.8 MB, free: 42.58 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.2543, allocations: 134.6 kB / 428 MB, free: 42.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004649/0.2547, allocations: 0.5645 MB / 428.5 MB, free: 42.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.2548, allocations: 35.67 kB / 428.6 MB, free: 42.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.2549, allocations: 344.5 kB / 428.9 MB, free: 41.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.604e-05/0.255, allocations: 110.3 kB / 429 MB, free: 41.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.2551, allocations: 74.36 kB / 429.1 MB, free: 41.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.168e-05/0.2552, allocations: 358.1 kB / 429.4 MB, free: 41.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003412/0.2555, allocations: 165.5 kB / 429.6 MB, free: 41.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003638/0.2559, allocations: 251.1 kB / 429.8 MB, free: 41.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007093/0.2566, allocations: 0.5249 MB / 430.4 MB, free: 40.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2566, allocations: 3.25 kB / 430.4 MB, free: 40.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008984/0.2575, allocations: 0.5995 MB / 431 MB, free: 40.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/0.2576, allocations: 93.75 kB / 431.1 MB, free: 40.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2576, allocations: 3.25 kB / 431.1 MB, free: 40.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001078/0.2577, allocations: 25.09 kB / 431.1 MB, free: 40.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002848/0.258, allocations: 78 kB / 431.2 MB, free: 40.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005759/0.2586, allocations: 1.292 MB / 432.5 MB, free: 39.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003737/0.2589, allocations: 73.3 kB / 432.5 MB, free: 39.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.259, allocations: 19.62 kB / 432.5 MB, free: 39.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004204/0.2594, allocations: 314.9 kB / 432.9 MB, free: 38.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000317/0.2597, allocations: 248.8 kB / 433.1 MB, free: 38.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000605/0.2604, allocations: 0.5112 MB / 433.6 MB, free: 38.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.2604, allocations: 0 / 433.6 MB, free: 38.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008274/0.2612, allocations: 0.5692 MB / 434.2 MB, free: 38.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.2612, allocations: 87.11 kB / 434.3 MB, free: 37.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.2612, allocations: 8.234 kB / 434.3 MB, free: 37.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.324e-05/0.2613, allocations: 21.86 kB / 434.3 MB, free: 37.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002559/0.2616, allocations: 79.48 kB / 434.4 MB, free: 37.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005182/0.2621, allocations: 1.282 MB / 435.7 MB, free: 36.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003529/0.2625, allocations: 73.12 kB / 435.7 MB, free: 36.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.2625, allocations: 21.03 kB / 435.7 MB, free: 36.59 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 (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.0001128/0.2626, allocations: 264 kB / 436 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.795e-05/0.2627, allocations: 53.28 kB / 436.1 MB, free: 36.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008862/0.2636, allocations: 0.497 MB / 436.6 MB, free: 36.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.2636, allocations: 8.281 kB / 436.6 MB, free: 36.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.2636, allocations: 0 / 436.6 MB, free: 36.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2636, allocations: 0 / 436.6 MB, free: 36.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.2649, allocations: 1.125 MB / 437.7 MB, free: 35.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2649, allocations: 0 / 437.7 MB, free: 35.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002629/0.2652, allocations: 63.36 kB / 437.7 MB, free: 35.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.253e-05/0.2652, allocations: 22.42 kB / 437.8 MB, free: 35.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.2653, allocations: 11.25 kB / 437.8 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005102/0.2658, allocations: 1.282 MB / 439.1 MB, free: 34.08 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2658, allocations: 3.328 kB / 439.1 MB, free: 34.08 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.267, allocations: 0.7734 MB / 439.8 MB, free: 33.65 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.564e-05/0.2671, allocations: 139.3 kB / 440 MB, free: 33.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.336e-05/0.2671, allocations: 13.09 kB / 440 MB, free: 33.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003428/0.2675, allocations: 44.58 kB / 440 MB, free: 33.51 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.221e-05/0.2676, allocations: 34.66 kB / 440.1 MB, free: 33.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.388e-05/0.2676, allocations: 13.22 kB / 440.1 MB, free: 33.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003222/0.2679, allocations: 409 kB / 440.5 MB, free: 33.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2679, allocations: 0 / 440.5 MB, free: 33.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005927/0.2685, allocations: 267.4 kB / 440.7 MB, free: 33.25 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,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.002041/0.2706, allocations: 1.555 MB / 442.3 MB, free: 32.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001431/0.272, allocations: 1.171 MB / 443.5 MB, free: 31.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.272, allocations: 0.8125 kB / 443.5 MB, free: 31.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004658/0.2725, allocations: 434 kB / 443.9 MB, free: 31.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/0.273, allocations: 87.33 kB / 444 MB, free: 31.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006116/0.2791, allocations: 5.681 MB / 449.7 MB, free: 27.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.2794, allocations: 0.8894 MB / 450.5 MB, free: 27.05 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002256/0.2797, allocations: 59.72 kB / 450.6 MB, free: 27.04 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002156/0.2799, allocations: 209.2 kB / 450.8 MB, free: 26.87 MB / 350.1 MB Notification: Performance of SimCode: time 1.763e-06/0.2799, allocations: 0 / 450.8 MB, free: 26.87 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02134/0.3013, allocations: 11.87 MB / 462.7 MB, free: 25.67 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001326/0.3014, allocations: 267.2 kB / 462.9 MB, free: 25.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.948/2.25, allocations: 0 / 462.9 MB, free: 25.41 MB / 350.1 MB (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestOneFlange_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestOneFlange.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe 2>&1)