Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.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.TestTwoFlange1,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestTwoFlange1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestTwoFlange1,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestTwoFlange1",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.001248/0.001248, 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.001251/0.001252, allocations: 194.1 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.449/1.449, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1528/0.1528, allocations: 8.946 MB / 299.3 MB, free: 2.043 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 63.89 kB / 361.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1068, allocations: 51.49 MB / 413.4 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange1): time 0.007269/0.1141, allocations: 4.426 MB / 417.8 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004054/0.1182, allocations: 2.114 MB / 420 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006635/0.1189, allocations: 15.94 kB / 420 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006106/0.1195, allocations: 162.7 kB / 420.1 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009462/0.1205, allocations: 226.3 kB / 420.3 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.1215, allocations: 423.3 kB / 420.8 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00134/0.1229, allocations: 0.9469 MB / 421.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000798/0.1237, allocations: 0.5199 MB / 422.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005865/0.1243, allocations: 366.7 kB / 422.6 MB, free: 256 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1755/0.2998, allocations: 399.7 kB / 423 MB, free: 37.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003386/0.3002, allocations: 110.1 kB / 423.1 MB, free: 37.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003335/0.3005, allocations: 134.9 kB / 423.2 MB, free: 37.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002361/0.3008, allocations: 244.8 kB / 423.5 MB, free: 37.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004069/0.3012, allocations: 472.2 kB / 423.9 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.3023, allocations: 1.177 MB / 425.1 MB, free: 37.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3023, allocations: 4.938 kB / 425.1 MB, free: 37.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.3023, allocations: 0 / 425.1 MB, free: 37.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.3023, allocations: 5.5 kB / 425.1 MB, free: 37.21 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.001799/0.3042, allocations: 1.236 MB / 426.3 MB, free: 36.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.3042, allocations: 15.92 kB / 426.4 MB, free: 36.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001145/0.3043, allocations: 117.9 kB / 426.5 MB, free: 36.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/0.3045, allocations: 96.5 kB / 426.6 MB, free: 36.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005928/0.3051, allocations: 0.565 MB / 427.1 MB, free: 36.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.245e-05/0.3051, allocations: 54.69 kB / 427.2 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.759e-05/0.3052, allocations: 77.53 kB / 427.3 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.3065, allocations: 0.7423 MB / 428 MB, free: 36.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.3065, allocations: 0 / 428 MB, free: 36.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.16e-05/0.3066, allocations: 31.44 kB / 428 MB, free: 36.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.3066, allocations: 16.81 kB / 428 MB, free: 36.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.3077, allocations: 0.5235 MB / 428.6 MB, free: 36.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003401/0.3111, allocations: 2.731 MB / 431.3 MB, free: 35.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009034/0.312, allocations: 468.4 kB / 431.8 MB, free: 34.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004025/0.3124, allocations: 188.4 kB / 431.9 MB, free: 34.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.056e-05/0.3125, allocations: 5.625 kB / 431.9 MB, free: 34.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005559/0.313, allocations: 266.5 kB / 432.2 MB, free: 34.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.164e-06/0.313, allocations: 0 / 432.2 MB, free: 34.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001567/0.3146, allocations: 0.7416 MB / 433 MB, free: 34.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.3147, allocations: 135.1 kB / 433.1 MB, free: 34.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006978/0.3154, allocations: 0.6803 MB / 433.8 MB, free: 34.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.3154, allocations: 35.61 kB / 433.8 MB, free: 33.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.3156, allocations: 386.3 kB / 434.2 MB, free: 33.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.519e-05/0.3157, allocations: 122.9 kB / 434.3 MB, free: 33.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.3158, allocations: 97.69 kB / 434.4 MB, free: 33.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.391e-05/0.3159, allocations: 371.5 kB / 434.8 MB, free: 33.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004237/0.3164, allocations: 188.4 kB / 434.9 MB, free: 33.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004326/0.3168, allocations: 302.6 kB / 435.2 MB, free: 32.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008313/0.3176, allocations: 0.5916 MB / 435.8 MB, free: 32.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.3177, allocations: 3.219 kB / 435.8 MB, free: 32.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001121/0.3188, allocations: 0.6676 MB / 436.5 MB, free: 32.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.038e-05/0.3189, allocations: 96.06 kB / 436.6 MB, free: 32.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.3189, allocations: 7.25 kB / 436.6 MB, free: 32.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001478/0.319, allocations: 23.11 kB / 436.6 MB, free: 32.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000352/0.3194, allocations: 97.53 kB / 436.7 MB, free: 32.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007563/0.3201, allocations: 1.401 MB / 438.1 MB, free: 30.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004568/0.3206, allocations: 86.53 kB / 438.2 MB, free: 30.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-05/0.3207, allocations: 22 kB / 438.2 MB, free: 30.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005654/0.3212, allocations: 360.5 kB / 438.6 MB, free: 30.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003822/0.3216, allocations: 282 kB / 438.8 MB, free: 30.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007342/0.3224, allocations: 0.5781 MB / 439.4 MB, free: 29.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.695e-06/0.3224, allocations: 3.344 kB / 439.4 MB, free: 29.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001007/0.3234, allocations: 0.6436 MB / 440.1 MB, free: 29.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/0.3234, allocations: 90.75 kB / 440.2 MB, free: 29.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3234, allocations: 3.281 kB / 440.2 MB, free: 29.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.363e-05/0.3235, allocations: 28.38 kB / 440.2 MB, free: 29.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003146/0.3239, allocations: 96.33 kB / 440.3 MB, free: 29.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006119/0.3245, allocations: 1.396 MB / 441.7 MB, free: 27.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004077/0.3249, allocations: 64.98 kB / 441.7 MB, free: 27.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.004e-05/0.3249, allocations: 19.28 kB / 441.8 MB, free: 27.91 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,twoFlanges.limTau.state,$whenCondition1,twoFlanges.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 51 * 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.000165/0.3251, allocations: 274.1 kB / 442 MB, free: 27.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.565e-05/0.3252, allocations: 62.47 kB / 442.1 MB, free: 27.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/0.3262, allocations: 0.535 MB / 442.6 MB, free: 27.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3262, allocations: 2.812 kB / 442.6 MB, free: 27.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.3262, allocations: 7.312 kB / 442.6 MB, free: 27.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.3263, allocations: 3.469 kB / 442.6 MB, free: 27.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/0.328, allocations: 1.273 MB / 443.9 MB, free: 26.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.328, allocations: 4 kB / 443.9 MB, free: 26.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003141/0.3283, allocations: 61 kB / 444 MB, free: 26.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.902e-05/0.3284, allocations: 21.31 kB / 444 MB, free: 26.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.3285, allocations: 10.31 kB / 444 MB, free: 26.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006295/0.3291, allocations: 1.391 MB / 445.4 MB, free: 25.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3291, allocations: 160 / 445.4 MB, free: 25.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/0.3305, allocations: 0.8241 MB / 446.2 MB, free: 24.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.3306, allocations: 149.1 kB / 446.4 MB, free: 24.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.192e-05/0.3307, allocations: 13.38 kB / 446.4 MB, free: 24.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003728/0.3311, allocations: 38.28 kB / 446.4 MB, free: 24.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.3312, allocations: 35.75 kB / 446.5 MB, free: 24.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-05/0.3312, allocations: 16.81 kB / 446.5 MB, free: 24.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005153/0.3318, allocations: 493.2 kB / 447 MB, free: 24.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3318, allocations: 0 / 447 MB, free: 24.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008556/0.3326, allocations: 306.9 kB / 447.3 MB, free: 24.31 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,twoFlanges.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,twoFlanges.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,twoFlanges.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * 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.002767/0.3354, allocations: 1.633 MB / 448.9 MB, free: 23.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001943/0.3374, allocations: 1.281 MB / 450.2 MB, free: 22.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3374, allocations: 1.062 kB / 450.2 MB, free: 22.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005576/0.338, allocations: 454.2 kB / 450.6 MB, free: 22.15 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006349/0.3386, allocations: 93.36 kB / 450.7 MB, free: 22.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007707/0.3463, allocations: 6.326 MB / 457 MB, free: 18.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.3467, allocations: 0.9345 MB / 458 MB, free: 17.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002824/0.347, allocations: 73.61 kB / 458 MB, free: 17.83 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002772/0.3473, allocations: 266 kB / 458.3 MB, free: 17.62 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3473, allocations: 3.938 kB / 458.3 MB, free: 17.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05167/0.3989, allocations: 14.07 MB / 472.4 MB, free: 16.19 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/10.45, allocations: 5.25 kB / 472.4 MB, free: 16.18 MB / 350.1 MB (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestTwoFlange1_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestTwoFlange1.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe 2>&1)