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.001593/0.001593, 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.001841/0.001841, allocations: 194.5 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.324/1.324, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1344/0.1344, allocations: 8.031 MB / 298.4 MB, free: 2.395 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.89 kB / 360.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08332/0.08454, allocations: 51.19 MB / 411.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.005363/0.08994, allocations: 4.106 MB / 416 MB, free: 6.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002417/0.09239, allocations: 1.411 MB / 417.4 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00028/0.09269, allocations: 15.94 kB / 417.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003885/0.09308, allocations: 154.8 kB / 417.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004898/0.09361, allocations: 202.5 kB / 417.8 MB, free: 5.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006613/0.09428, allocations: 374.7 kB / 418.2 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007088/0.095, allocations: 0.8335 MB / 419 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005553/0.09557, allocations: 458.4 kB / 419.5 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000299/0.09587, allocations: 318.9 kB / 419.8 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003399/0.09622, allocations: 350.5 kB / 420.1 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.09634, allocations: 92 kB / 420.2 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001805/0.09653, allocations: 124 kB / 420.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001962/0.09673, allocations: 203.4 kB / 420.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003259/0.09707, allocations: 394.1 kB / 420.9 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008503/0.09793, allocations: 1.012 MB / 421.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.09794, allocations: 0 / 421.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.09795, allocations: 0 / 421.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.09797, allocations: 4 kB / 421.9 MB, free: 0.9336 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.1561/0.2541, allocations: 1.107 MB / 423 MB, free: 44.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.2542, allocations: 9.281 kB / 423 MB, free: 44.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001044/0.2543, allocations: 108.5 kB / 423.1 MB, free: 44.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.2544, allocations: 79.5 kB / 423.2 MB, free: 44.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006104/0.255, allocations: 0.492 MB / 423.7 MB, free: 44.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.613e-05/0.2551, allocations: 48.19 kB / 423.8 MB, free: 44.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.2552, allocations: 67.84 kB / 423.8 MB, free: 44.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.2563, allocations: 0.6477 MB / 424.5 MB, free: 44.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.417e-05/0.2563, allocations: 9 kB / 424.5 MB, free: 44.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.798e-05/0.2564, allocations: 26.84 kB / 424.5 MB, free: 44.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.2564, allocations: 14.38 kB / 424.5 MB, free: 44.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009933/0.2574, allocations: 481 kB / 425 MB, free: 44.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002909/0.2603, allocations: 2.518 MB / 427.5 MB, free: 42.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008687/0.2612, allocations: 420.8 kB / 427.9 MB, free: 42.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003681/0.2616, allocations: 169.8 kB / 428.1 MB, free: 42.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.744e-05/0.2617, allocations: 14 kB / 428.1 MB, free: 42.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005739/0.2622, allocations: 260.9 kB / 428.4 MB, free: 42.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.104e-06/0.2622, allocations: 0 / 428.4 MB, free: 42.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001486/0.2637, allocations: 0.6727 MB / 429 MB, free: 41.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.2638, allocations: 135.1 kB / 429.2 MB, free: 41.78 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005846/0.2644, allocations: 0.5684 MB / 429.7 MB, free: 41.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.2644, allocations: 32.95 kB / 429.8 MB, free: 41.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.2646, allocations: 339.4 kB / 430.1 MB, free: 41.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.773e-05/0.2647, allocations: 106.9 kB / 430.2 MB, free: 41.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.2648, allocations: 76.7 kB / 430.3 MB, free: 41.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.811e-05/0.2649, allocations: 367.7 kB / 430.6 MB, free: 40.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003787/0.2653, allocations: 157.9 kB / 430.8 MB, free: 40.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004087/0.2657, allocations: 253.5 kB / 431 MB, free: 40.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007796/0.2665, allocations: 0.5283 MB / 431.6 MB, free: 40.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2665, allocations: 0 / 431.6 MB, free: 40.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001043/0.2675, allocations: 0.5957 MB / 432.2 MB, free: 39.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.632e-05/0.2676, allocations: 94.27 kB / 432.2 MB, free: 39.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.2676, allocations: 3.641 kB / 432.2 MB, free: 39.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001532/0.2678, allocations: 24.62 kB / 432.3 MB, free: 39.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003089/0.2681, allocations: 85.02 kB / 432.4 MB, free: 39.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006945/0.2688, allocations: 1.382 MB / 433.7 MB, free: 38.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004288/0.2692, allocations: 74 kB / 433.8 MB, free: 38.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.2693, allocations: 20.25 kB / 433.8 MB, free: 38.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005293/0.2698, allocations: 315.5 kB / 434.1 MB, free: 38.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003661/0.2702, allocations: 245.5 kB / 434.4 MB, free: 37.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007129/0.2709, allocations: 0.5107 MB / 434.9 MB, free: 37.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.582e-06/0.2709, allocations: 0 / 434.9 MB, free: 37.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0009762/0.2719, allocations: 0.5627 MB / 435.4 MB, free: 37.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.054e-05/0.272, allocations: 89.53 kB / 435.5 MB, free: 37.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.272, allocations: 5.562 kB / 435.5 MB, free: 37.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.425e-05/0.2721, allocations: 31.67 kB / 435.6 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/0.2723, allocations: 77.58 kB / 435.6 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006636/0.273, allocations: 1.391 MB / 437 MB, free: 35.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003882/0.2734, allocations: 66.33 kB / 437.1 MB, free: 35.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.2735, allocations: 19.31 kB / 437.1 MB, free: 35.76 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.0001342/0.2736, allocations: 264.6 kB / 437.4 MB, free: 35.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.608e-05/0.2737, allocations: 48.44 kB / 437.4 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009453/0.2746, allocations: 0.499 MB / 437.9 MB, free: 35.24 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2746, allocations: 2.812 kB / 437.9 MB, free: 35.24 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.2746, allocations: 3.828 kB / 437.9 MB, free: 35.24 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2746, allocations: 0 / 437.9 MB, free: 35.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/0.2761, allocations: 1.14 MB / 439.1 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.2762, allocations: 0 / 439.1 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002842/0.2764, allocations: 58.44 kB / 439.1 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.926e-05/0.2765, allocations: 22.12 kB / 439.2 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/0.2766, allocations: 11.25 kB / 439.2 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00061/0.2772, allocations: 1.381 MB / 440.5 MB, free: 33.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2772, allocations: 0 / 440.5 MB, free: 33.15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.2785, allocations: 0.7673 MB / 441.3 MB, free: 32.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.208e-05/0.2785, allocations: 136.2 kB / 441.4 MB, free: 32.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.517e-05/0.2786, allocations: 9.656 kB / 441.5 MB, free: 32.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003587/0.279, allocations: 46.44 kB / 441.5 MB, free: 32.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.5e-05/0.2791, allocations: 31.42 kB / 441.5 MB, free: 32.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/0.2791, allocations: 14.66 kB / 441.5 MB, free: 32.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003679/0.2795, allocations: 411.7 kB / 441.9 MB, free: 32.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2795, allocations: 0 / 441.9 MB, free: 32.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006676/0.2802, allocations: 261.2 kB / 442.2 MB, free: 32.32 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.002166/0.2823, allocations: 1.569 MB / 443.8 MB, free: 31.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00168/0.284, allocations: 1.182 MB / 445 MB, free: 30.53 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2841, allocations: 2.719 kB / 445 MB, free: 30.53 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005223/0.2846, allocations: 423.3 kB / 445.4 MB, free: 30.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005372/0.2851, allocations: 88.48 kB / 445.5 MB, free: 30.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006365/0.2915, allocations: 5.459 MB / 450.9 MB, free: 27.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.2918, allocations: 0.8904 MB / 451.8 MB, free: 26.33 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002383/0.2921, allocations: 58.7 kB / 451.9 MB, free: 26.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000232/0.2923, allocations: 214.4 kB / 452.1 MB, free: 26.16 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2923, allocations: 0 / 452.1 MB, free: 26.16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03286/0.3252, allocations: 12.5 MB / 464.6 MB, free: 24.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.26/9.585, allocations: 1.406 kB / 464.6 MB, free: 24.79 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)