Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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_EHPTlib_MapBased_TestingModels_TestOneFlangeConn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestOneFlangeConn,fileNamePrefix="EHPTlib_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.001235/0.001235, 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.001275/0.001275, allocations: 196.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.289/1.289, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1537/0.1537, allocations: 8.029 MB / 298.4 MB, free: 2.383 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 59.91 kB / 360.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0933/0.09451, 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.005033/0.09959, allocations: 4.131 MB / 416.1 MB, free: 6.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002041/0.1017, allocations: 1.418 MB / 417.5 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002555/0.1019, allocations: 19.94 kB / 417.5 MB, free: 5.375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003694/0.1023, allocations: 150.8 kB / 417.6 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004467/0.1028, allocations: 198.5 kB / 417.8 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005948/0.1034, allocations: 391.1 kB / 418.2 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006575/0.104, allocations: 0.8417 MB / 419.1 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005529/0.1046, allocations: 487.6 kB / 419.5 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002751/0.1049, allocations: 326.8 kB / 419.9 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003268/0.1052, allocations: 366.4 kB / 420.2 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.1053, allocations: 96 kB / 420.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.1055, allocations: 128 kB / 420.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001797/0.1057, allocations: 207.4 kB / 420.6 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003046/0.106, allocations: 410.1 kB / 421 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007727/0.1068, allocations: 1.024 MB / 422.1 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1068, allocations: 3.938 kB / 422.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1068, allocations: 0 / 422.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.566e-05/0.1068, allocations: 0 / 422.1 MB, free: 0.7773 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.1578/0.2647, allocations: 1.117 MB / 423.2 MB, free: 44.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.2647, allocations: 9.906 kB / 423.2 MB, free: 44.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.185e-05/0.2648, allocations: 111.8 kB / 423.3 MB, free: 44.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.2649, allocations: 81.59 kB / 423.4 MB, free: 44.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005277/0.2655, allocations: 0.5046 MB / 423.9 MB, free: 44.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.2655, allocations: 50.5 kB / 423.9 MB, free: 44.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.642e-05/0.2656, allocations: 71.14 kB / 424 MB, free: 44.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.2666, allocations: 0.6644 MB / 424.7 MB, free: 44.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.2667, allocations: 11.64 kB / 424.7 MB, free: 44.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.846e-05/0.2667, allocations: 23.72 kB / 424.7 MB, free: 44.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.2667, allocations: 16.59 kB / 424.7 MB, free: 44.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009376/0.2677, allocations: 496.1 kB / 425.2 MB, free: 44.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002668/0.2703, allocations: 2.578 MB / 427.8 MB, free: 42.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007978/0.2712, allocations: 426.9 kB / 428.2 MB, free: 42.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003476/0.2715, allocations: 178 kB / 428.4 MB, free: 42.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.2716, allocations: 5.953 kB / 428.4 MB, free: 42.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000513/0.2721, allocations: 251.9 kB / 428.6 MB, free: 42.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.873e-06/0.2721, allocations: 3.031 kB / 428.6 MB, free: 42.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001315/0.2734, allocations: 0.6852 MB / 429.3 MB, free: 41.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.2735, allocations: 138.4 kB / 429.4 MB, free: 41.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005182/0.274, allocations: 0.5667 MB / 430 MB, free: 41.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.274, allocations: 33.02 kB / 430 MB, free: 41.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.2742, allocations: 348.1 kB / 430.4 MB, free: 41.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.849e-05/0.2742, allocations: 105.9 kB / 430.5 MB, free: 41.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.801e-05/0.2743, allocations: 78.59 kB / 430.6 MB, free: 41.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.725e-05/0.2744, allocations: 364.7 kB / 430.9 MB, free: 40.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003453/0.2748, allocations: 159 kB / 431.1 MB, free: 40.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003642/0.2751, allocations: 261.2 kB / 431.3 MB, free: 40.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007039/0.2758, allocations: 0.5291 MB / 431.9 MB, free: 40.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2759, allocations: 0 / 431.9 MB, free: 40.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009166/0.2768, allocations: 0.5889 MB / 432.4 MB, free: 39.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.011e-05/0.2768, allocations: 90.44 kB / 432.5 MB, free: 39.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.2768, allocations: 7.594 kB / 432.5 MB, free: 39.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001331/0.277, allocations: 32.8 kB / 432.6 MB, free: 39.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.2773, allocations: 78.45 kB / 432.6 MB, free: 39.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006333/0.2779, allocations: 1.38 MB / 434 MB, free: 38.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003627/0.2783, allocations: 80.22 kB / 434.1 MB, free: 38.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.2783, allocations: 17.02 kB / 434.1 MB, free: 38.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004302/0.2788, allocations: 314.2 kB / 434.4 MB, free: 38.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003218/0.2791, allocations: 252.2 kB / 434.7 MB, free: 37.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006242/0.2797, allocations: 0.5172 MB / 435.2 MB, free: 37.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.134e-06/0.2797, allocations: 3.062 kB / 435.2 MB, free: 37.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008352/0.2806, allocations: 0.5669 MB / 435.8 MB, free: 37.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.2806, allocations: 87.94 kB / 435.9 MB, free: 37.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.2806, allocations: 3.188 kB / 435.9 MB, free: 37.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.418e-05/0.2807, allocations: 25.86 kB / 435.9 MB, free: 37.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.2809, allocations: 86.19 kB / 436 MB, free: 37.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005654/0.2815, allocations: 1.38 MB / 437.3 MB, free: 35.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003552/0.2819, allocations: 58.91 kB / 437.4 MB, free: 35.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.619e-05/0.2819, allocations: 20.84 kB / 437.4 MB, free: 35.69 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.0001282/0.2821, allocations: 264.4 kB / 437.7 MB, free: 35.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.193e-05/0.2821, allocations: 57.81 kB / 437.7 MB, free: 35.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008935/0.283, allocations: 0.4946 MB / 438.2 MB, free: 35.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.283, allocations: 3.125 kB / 438.2 MB, free: 35.15 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2831, allocations: 3.422 kB / 438.2 MB, free: 35.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2831, allocations: 0 / 438.2 MB, free: 35.15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/0.2845, allocations: 1.153 MB / 439.4 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2845, allocations: 0 / 439.4 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/0.2847, allocations: 58.17 kB / 439.4 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.936e-05/0.2848, allocations: 17.61 kB / 439.5 MB, free: 34.47 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.764e-05/0.2848, allocations: 18.73 kB / 439.5 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000536/0.2854, allocations: 1.386 MB / 440.9 MB, free: 33.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2854, allocations: 1.484 kB / 440.9 MB, free: 33.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.2866, allocations: 0.7628 MB / 441.6 MB, free: 32.63 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.519e-05/0.2867, allocations: 134.5 kB / 441.8 MB, free: 32.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.006e-05/0.2867, allocations: 10.89 kB / 441.8 MB, free: 32.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003317/0.2871, allocations: 40.58 kB / 441.8 MB, free: 32.49 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.536e-05/0.2872, allocations: 33.28 kB / 441.8 MB, free: 32.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.2872, allocations: 17.34 kB / 441.9 MB, free: 32.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000334/0.2875, allocations: 411.3 kB / 442.3 MB, free: 32.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2876, allocations: 3.938 kB / 442.3 MB, free: 32.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006459/0.2882, allocations: 281.5 kB / 442.5 MB, free: 32.21 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.001995/0.2902, allocations: 1.561 MB / 444.1 MB, free: 31.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001516/0.2917, allocations: 1.175 MB / 445.3 MB, free: 30.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2917, allocations: 0.8125 kB / 445.3 MB, free: 30.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004795/0.2922, allocations: 436 kB / 445.7 MB, free: 30.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000483/0.2927, allocations: 85.14 kB / 445.8 MB, free: 30.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005706/0.2984, allocations: 5.484 MB / 451.3 MB, free: 26.92 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.2987, allocations: 0.8971 MB / 452.2 MB, free: 26.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002042/0.2989, allocations: 67.25 kB / 452.2 MB, free: 26.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/0.2991, allocations: 217.9 kB / 452.4 MB, free: 26.02 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2991, allocations: 0 / 452.4 MB, free: 26.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03188/0.331, allocations: 12.54 MB / 465 MB, free: 24.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.047/9.378, allocations: 4.984 kB / 465 MB, free: 24.65 MB / 350.1 MB (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_MapBased_TestingModels_TestOneFlangeConn_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 EHPTlib_EHPTlib_MapBased_TestingModels_TestOneFlangeConn.fmu > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe 2>&1)