Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Keep_below_limit.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package AES with version (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo) Running command: translateModel(AES.Coursework.Typical_control_structures.Keep_below_limit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Keep_below_limit") translateModel(AES.Coursework.Typical_control_structures.Keep_below_limit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Keep_below_limit") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.1024/0.1024, allocations: 19.39 MB / 34.65 MB, free: 204 kB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 181.7 kB / 40.28 MB, free: 6.527 MB / 33.03 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 225.7 MB / 271.5 MB, free: 3.262 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008085/0.0008087, allocations: 91.75 kB / 327.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003411/0.0003412, allocations: 8 kB / 395.4 MB, free: 47.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09031/0.09067, allocations: 55.17 MB / 450.6 MB, free: 8.664 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Keep_below_limit): time 0.002062/0.09279, allocations: 1.506 MB / 452.1 MB, free: 7.148 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.09382, allocations: 0.546 MB / 452.6 MB, free: 6.598 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.09396, allocations: 3.938 kB / 452.6 MB, free: 6.594 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002572/0.09423, allocations: 19.91 kB / 452.6 MB, free: 6.574 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001586/0.0944, allocations: 35.78 kB / 452.7 MB, free: 6.539 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.09469, allocations: 111.9 kB / 452.8 MB, free: 6.43 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002493/0.09495, allocations: 199.6 kB / 453 MB, free: 6.234 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.09509, allocations: 61.52 kB / 453 MB, free: 6.176 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.09521, allocations: 63.69 kB / 453.1 MB, free: 6.113 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.09538, allocations: 83.59 kB / 453.2 MB, free: 6.031 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.539e-05/0.09542, allocations: 7.938 kB / 453.2 MB, free: 6.023 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.171e-05/0.09545, allocations: 4 kB / 453.2 MB, free: 6.02 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.072e-05/0.09554, allocations: 39.89 kB / 453.2 MB, free: 5.98 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.043e-05/0.09563, allocations: 85.25 kB / 453.3 MB, free: 5.891 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.09582, allocations: 167.4 kB / 453.5 MB, free: 5.727 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.09583, allocations: 4 kB / 453.5 MB, free: 5.723 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.09584, allocations: 0 / 453.5 MB, free: 5.723 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.09585, allocations: 0 / 453.5 MB, free: 5.723 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001036/0.09689, allocations: 499 kB / 454 MB, free: 5.184 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.09694, allocations: 13.16 kB / 454 MB, free: 5.172 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.213e-05/0.09703, allocations: 24.59 kB / 454 MB, free: 5.148 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004886/0.09753, allocations: 270.2 kB / 454.3 MB, free: 4.844 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.09755, allocations: 8.609 kB / 454.3 MB, free: 4.836 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.994e-05/0.0976, allocations: 20.27 kB / 454.3 MB, free: 4.816 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.09792, allocations: 177.7 kB / 454.5 MB, free: 4.633 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.09795, allocations: 0 / 454.5 MB, free: 4.633 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.09797, allocations: 4 kB / 454.5 MB, free: 4.629 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.09798, allocations: 4 kB / 454.5 MB, free: 4.625 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002685/0.09826, allocations: 131.7 kB / 454.6 MB, free: 4.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009492/0.09921, allocations: 0.5361 MB / 455.1 MB, free: 3.914 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005673/0.09979, allocations: 202.6 kB / 455.3 MB, free: 3.707 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.09994, allocations: 72.81 kB / 455.4 MB, free: 3.633 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.09998, allocations: 8 kB / 455.4 MB, free: 3.625 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.1, allocations: 30.56 kB / 455.4 MB, free: 3.586 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.1, allocations: 3.938 kB / 455.4 MB, free: 3.582 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.001672/0.1017, allocations: 0.6007 MB / 456 MB, free: 2.953 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.1017, allocations: 77.11 kB / 456.1 MB, free: 2.859 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003565/0.1021, allocations: 210.8 kB / 456.3 MB, free: 2.648 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.1022, allocations: 33.7 kB / 456.4 MB, free: 2.609 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.057e-05/0.1022, allocations: 127.9 kB / 456.5 MB, free: 2.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.933e-05/0.1023, allocations: 43.36 kB / 456.5 MB, free: 2.438 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-06/0.1023, allocations: 0 / 456.5 MB, free: 2.438 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1024, allocations: 334.8 kB / 456.9 MB, free: 2.102 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.1026, allocations: 63.91 kB / 456.9 MB, free: 2.039 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.1027, allocations: 98.47 kB / 457 MB, free: 1.934 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002714/0.103, allocations: 149.9 kB / 457.2 MB, free: 1.781 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.103, allocations: 0 / 457.2 MB, free: 1.781 MB / 314.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003646/0.1034, allocations: 209.3 kB / 457.4 MB, free: 1.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.419e-05/0.1035, allocations: 93.86 kB / 457.5 MB, free: 1.469 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.1035, allocations: 4 kB / 457.5 MB, free: 1.465 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.1035, allocations: 4 kB / 457.5 MB, free: 1.461 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002752/0.1038, allocations: 47.94 kB / 457.5 MB, free: 1.414 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.1038, allocations: 0 / 457.5 MB, free: 1.414 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.104, allocations: 27.97 kB / 457.5 MB, free: 1.387 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.1041, allocations: 11.88 kB / 457.5 MB, free: 1.375 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.506e-06/0.1041, allocations: 4 kB / 457.6 MB, free: 1.371 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002154/0.1043, allocations: 127.9 kB / 457.7 MB, free: 1.246 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1043, allocations: 4 kB / 457.7 MB, free: 1.242 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.396e-06/0.1043, allocations: 4.031 kB / 457.7 MB, free: 1.238 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.1046, allocations: 39.91 kB / 457.7 MB, free: 1.199 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1046, allocations: 4 kB / 457.7 MB, free: 1.195 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.1047, allocations: 19.89 kB / 457.7 MB, free: 1.176 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.1047, allocations: 4 kB / 457.8 MB, free: 1.172 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001507/0.1049, allocations: 213 kB / 458 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.884e-05/0.1049, allocations: 11.81 kB / 458 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007135/0.1057, allocations: 311.6 kB / 458.3 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.1057, allocations: 0 / 458.3 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.1057, allocations: 0 / 458.3 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.1057, allocations: 7.938 kB / 458.3 MB, free: 0.625 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002981/0.106, allocations: 265.5 kB / 458.5 MB, free: 324 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.106, allocations: 0 / 458.5 MB, free: 324 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.847e-05/0.1061, allocations: 11.98 kB / 458.6 MB, free: 312 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003711/0.1065, allocations: 100.7 kB / 458.7 MB, free: 208 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.1065, allocations: 8 kB / 458.7 MB, free: 200 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001992/0.1085, allocations: 1.769 MB / 460.4 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1086, allocations: 0 / 460.4 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007935/0.1094, allocations: 459.9 kB / 460.9 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.074e-05/0.1094, allocations: 96.92 kB / 461 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.1095, allocations: 4.031 kB / 461 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.1097, allocations: 31.91 kB / 461 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.783e-05/0.1098, allocations: 11.98 kB / 461 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.1098, allocations: 4 kB / 461 MB, free: 13.66 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002889/0.1101, allocations: 168.9 kB / 461.2 MB, free: 13.49 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1101, allocations: 0 / 461.2 MB, free: 13.49 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003438/0.1104, allocations: 55.84 kB / 461.2 MB, free: 13.44 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (C.FO.y,P.x_scaled[1],P.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001139/0.1106, allocations: 107.2 kB / 461.3 MB, free: 13.32 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004434/0.111, allocations: 223.8 kB / 461.6 MB, free: 13.11 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.111, allocations: 0 / 461.6 MB, free: 13.11 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003365/0.1114, allocations: 210.5 kB / 461.8 MB, free: 12.89 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.1117, allocations: 24.83 kB / 461.8 MB, free: 12.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008059/0.1125, allocations: 485.8 kB / 462.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.1128, allocations: 0.7281 MB / 463 MB, free: 11.61 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.113, allocations: 37.05 kB / 463 MB, free: 11.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.113, allocations: 15.44 kB / 463.1 MB, free: 11.55 MB / 330.7 MB Notification: Performance of SimCode: time 3.6e-07/0.113, allocations: 0 / 463.1 MB, free: 11.55 MB / 330.7 MB Notification: Performance of Templates: time 0.005086/0.1181, allocations: 2.241 MB / 465.3 MB, free: 9.32 MB / 330.7 MB make -j1 -f AES_AES.Coursework.Typical_control_structures.Keep_below_limit.makefile (rm -f AES_AES.Coursework.Typical_control_structures.Keep_below_limit.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.Keep_below_limit.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.Keep_below_limit.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.Keep_below_limit.sim & ./AES_AES.Coursework.Typical_control_structures.Keep_below_limit -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Keep_below_limit.pipe 2>&1)