Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_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_EHPTlib_MapBased_TestingModels_TestOneFlange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestOneFlange,fileNamePrefix="EHPTlib_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.001001/0.001001, 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.001008/0.001008, allocations: 197.8 kB / 16.14 MB, free: 6.688 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.241/1.241, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1323/0.1323, allocations: 8.025 MB / 298 MB, free: 2.43 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001082, allocations: 59.91 kB / 360.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08239/0.08348, allocations: 51.19 MB / 411.2 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.004851/0.08837, allocations: 4.133 MB / 415.4 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.09032, allocations: 1.399 MB / 416.8 MB, free: 5.934 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002296/0.09056, allocations: 15.94 kB / 416.8 MB, free: 5.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003908/0.09097, allocations: 123.3 kB / 416.9 MB, free: 5.797 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003801/0.09136, allocations: 159 kB / 417.1 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006121/0.09198, allocations: 343 kB / 417.4 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006104/0.0926, allocations: 0.7592 MB / 418.2 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004891/0.0931, allocations: 402.1 kB / 418.6 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000255/0.09336, allocations: 270.8 kB / 418.8 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003134/0.09368, allocations: 330.5 kB / 419.1 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.277e-05/0.09377, allocations: 48 kB / 419.2 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.09393, allocations: 79.94 kB / 419.3 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.0941, allocations: 159.4 kB / 419.4 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002746/0.09438, allocations: 354.1 kB / 419.8 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007608/0.09515, allocations: 0.9735 MB / 420.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.09516, allocations: 0 / 420.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.71e-07/0.09517, allocations: 0 / 420.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.09518, allocations: 0 / 420.7 MB, free: 1.945 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.001654/0.09684, allocations: 1.098 MB / 421.8 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.09689, allocations: 12.03 kB / 421.9 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001119/0.097, allocations: 106.7 kB / 422 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.09713, allocations: 80 kB / 422 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000586/0.09773, allocations: 0.4971 MB / 422.5 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.1428/0.2405, allocations: 48.73 kB / 422.6 MB, free: 44.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001876/0.2407, allocations: 65.28 kB / 422.6 MB, free: 44.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.2419, allocations: 0.6455 MB / 423.3 MB, free: 44.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.2419, allocations: 3.469 kB / 423.3 MB, free: 44.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.21e-05/0.242, allocations: 25.44 kB / 423.3 MB, free: 44.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.242, allocations: 19.47 kB / 423.3 MB, free: 44.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009328/0.2429, allocations: 474.8 kB / 423.8 MB, free: 44.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002846/0.2458, allocations: 2.523 MB / 426.3 MB, free: 43.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007699/0.2465, allocations: 422 kB / 426.7 MB, free: 43.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003387/0.2469, allocations: 172.1 kB / 426.9 MB, free: 43.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.2469, allocations: 10.45 kB / 426.9 MB, free: 43.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00051/0.2475, allocations: 248.7 kB / 427.2 MB, free: 42.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.673e-06/0.2475, allocations: 1.641 kB / 427.2 MB, free: 42.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001316/0.2488, allocations: 0.6831 MB / 427.8 MB, free: 42.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.2488, allocations: 140.3 kB / 428 MB, free: 42.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004657/0.2493, allocations: 0.5622 MB / 428.5 MB, free: 42.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.2494, allocations: 36.27 kB / 428.6 MB, free: 42.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.2495, allocations: 344.3 kB / 428.9 MB, free: 41.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.442e-05/0.2496, allocations: 106.5 kB / 429 MB, free: 41.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.944e-05/0.2497, allocations: 72.92 kB / 429.1 MB, free: 41.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.012e-05/0.2497, allocations: 356.9 kB / 429.4 MB, free: 41.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003434/0.2501, allocations: 168 kB / 429.6 MB, free: 41.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003605/0.2504, allocations: 255.6 kB / 429.8 MB, free: 41.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007151/0.2512, allocations: 0.5269 MB / 430.4 MB, free: 40.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2512, allocations: 5.438 kB / 430.4 MB, free: 40.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000935/0.2521, allocations: 0.5969 MB / 431 MB, free: 40.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.985e-05/0.2522, allocations: 90.05 kB / 431.1 MB, free: 40.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.2522, allocations: 5.469 kB / 431.1 MB, free: 40.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001351/0.2523, allocations: 24.33 kB / 431.1 MB, free: 40.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002926/0.2526, allocations: 90.56 kB / 431.2 MB, free: 40.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006155/0.2532, allocations: 1.273 MB / 432.5 MB, free: 39.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000382/0.2536, allocations: 84.84 kB / 432.5 MB, free: 39.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.111e-05/0.2537, allocations: 16.53 kB / 432.6 MB, free: 39.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004354/0.2541, allocations: 309 kB / 432.9 MB, free: 38.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003277/0.2545, allocations: 249.8 kB / 433.1 MB, free: 38.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006368/0.2551, allocations: 0.5111 MB / 433.6 MB, free: 38.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.166e-06/0.2551, allocations: 3.938 kB / 433.6 MB, free: 38.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008424/0.256, allocations: 0.5599 MB / 434.2 MB, free: 38.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.256, allocations: 93.89 kB / 434.3 MB, free: 37.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.256, allocations: 4.562 kB / 434.3 MB, free: 37.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.596e-05/0.2561, allocations: 29.34 kB / 434.3 MB, free: 37.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.2563, allocations: 77.52 kB / 434.4 MB, free: 37.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005632/0.2569, allocations: 1.284 MB / 435.7 MB, free: 36.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003559/0.2573, allocations: 65.58 kB / 435.7 MB, free: 36.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.2573, allocations: 16.59 kB / 435.7 MB, free: 36.65 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.0001188/0.2574, allocations: 266.9 kB / 436 MB, free: 36.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.883e-05/0.2575, allocations: 58.95 kB / 436.1 MB, free: 36.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008799/0.2584, allocations: 0.4901 MB / 436.5 MB, free: 36.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2584, allocations: 3.25 kB / 436.6 MB, free: 36.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.2584, allocations: 4 kB / 436.6 MB, free: 36.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2584, allocations: 0 / 436.6 MB, free: 36.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.2598, allocations: 1.134 MB / 437.7 MB, free: 35.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2598, allocations: 3.188 kB / 437.7 MB, free: 35.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/0.26, allocations: 57.42 kB / 437.7 MB, free: 35.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.253e-05/0.2601, allocations: 21.78 kB / 437.8 MB, free: 35.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/0.2601, allocations: 10.84 kB / 437.8 MB, free: 35.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005367/0.2607, allocations: 1.285 MB / 439.1 MB, free: 34.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.2607, allocations: 3.125 kB / 439.1 MB, free: 34.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.2619, allocations: 0.7632 MB / 439.8 MB, free: 33.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.843e-05/0.262, allocations: 142.3 kB / 440 MB, free: 33.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.313e-05/0.262, allocations: 17.66 kB / 440 MB, free: 33.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003368/0.2624, allocations: 51.66 kB / 440 MB, free: 33.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.716e-05/0.2625, allocations: 24.09 kB / 440.1 MB, free: 33.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/0.2625, allocations: 13.62 kB / 440.1 MB, free: 33.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003391/0.2628, allocations: 409.7 kB / 440.5 MB, free: 33.37 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2629, allocations: 0 / 440.5 MB, free: 33.37 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005979/0.2635, allocations: 265.1 kB / 440.7 MB, free: 33.3 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.001996/0.2655, allocations: 1.559 MB / 442.3 MB, free: 32.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001472/0.2669, allocations: 1.176 MB / 443.5 MB, free: 31.53 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.267, allocations: 2.969 kB / 443.5 MB, free: 31.53 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004663/0.2674, allocations: 431.7 kB / 443.9 MB, free: 31.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004891/0.2679, allocations: 83.94 kB / 444 MB, free: 31.19 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006057/0.274, allocations: 5.693 MB / 449.7 MB, free: 27.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.2743, allocations: 0.8846 MB / 450.6 MB, free: 27.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002189/0.2745, allocations: 62.58 kB / 450.6 MB, free: 27.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/0.2747, allocations: 209 kB / 450.8 MB, free: 26.91 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2748, allocations: 3.719 kB / 450.8 MB, free: 26.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01975/0.2945, allocations: 11.85 MB / 462.7 MB, free: 25.71 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001485/0.2947, allocations: 249.6 kB / 462.9 MB, free: 25.46 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.867/2.162, allocations: 0 / 462.9 MB, free: 25.46 MB / 350.1 MB (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_MapBased_TestingModels_TestOneFlange_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 EHPTlib_EHPTlib_MapBased_TestingModels_TestOneFlange.fmu > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe 2>&1)