Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_SR01.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 84.53 kB / 19.95 MB, free: 4.605 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 169.2 kB / 23.23 MB, free: 1.332 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9502/0.9502, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.06468/0.06468, allocations: 18.13 MB / 278.1 MB, free: 11.52 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(AES.Devel_test_models.Test_SR01,fileNamePrefix="AES_AES_Devel_test_models_Test_SR01",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_SR01,fileNamePrefix="AES_AES_Devel_test_models_Test_SR01",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 418.2 MB, free: 10.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.698e-05/1.887e-05, allocations: 7.812 kB / 418.2 MB, free: 10.96 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.001742/0.001761, allocations: 0.7076 MB / 418.9 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001671/0.001928, allocations: 27.08 kB / 418.9 MB, free: 10.53 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.823e-05/0.001966, allocations: 4 kB / 418.9 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 2.64e-05/0.001993, allocations: 9.375 kB / 419 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 7.074e-05/0.002064, allocations: 5.484 kB / 419 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.982e-05/0.002143, allocations: 6.922 kB / 419 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 6.695e-05/0.00221, allocations: 15.02 kB / 419 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.648e-05/0.002307, allocations: 12.09 kB / 419 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.55e-05/0.002332, allocations: 8.734 kB / 419 MB, free: 10.49 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.629e-05/0.002409, allocations: 7.203 kB / 419 MB, free: 10.49 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.002428, allocations: 1.281 kB / 419 MB, free: 10.49 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.377e-06/0.002437, allocations: 1.594 kB / 419 MB, free: 10.49 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.002455, allocations: 14.61 kB / 419 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.335e-05/0.002479, allocations: 3.375 kB / 419 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 7.95e-05/0.002558, allocations: 19.33 kB / 419 MB, free: 10.47 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.00256, allocations: 0 / 419 MB, free: 10.47 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.002561, allocations: 1.094 kB / 419 MB, free: 10.47 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.002564, allocations: 0 / 419 MB, free: 10.47 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003098/0.002874, allocations: 252 kB / 419.3 MB, free: 10.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.002914, allocations: 13.33 kB / 419.3 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.719e-05/0.002942, allocations: 36.58 kB / 419.3 MB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.261e-05/0.002964, allocations: 2.688 kB / 419.3 MB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.878e-05/0.003043, allocations: 110.8 kB / 419.5 MB, free: 10.03 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.003054, allocations: 384 / 419.5 MB, free: 10.03 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.003065, allocations: 3.266 kB / 419.5 MB, free: 10.03 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.574e-05/0.00315, allocations: 40.45 kB / 419.5 MB, free: 9.996 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.003159, allocations: 5.5 kB / 419.5 MB, free: 9.992 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.003166, allocations: 384 / 419.5 MB, free: 9.992 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.003172, allocations: 6.266 kB / 419.5 MB, free: 9.988 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.696e-05/0.003219, allocations: 13.44 kB / 419.5 MB, free: 9.984 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002777/0.003496, allocations: 222.7 kB / 419.7 MB, free: 9.742 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.003604, allocations: 36.75 kB / 419.8 MB, free: 9.711 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.096e-05/0.003635, allocations: 18.83 kB / 419.8 MB, free: 9.695 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.003654, allocations: 1.734 kB / 419.8 MB, free: 9.695 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.295e-05/0.003667, allocations: 36.78 kB / 419.8 MB, free: 9.652 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.003668, allocations: 0 / 419.8 MB, free: 9.652 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.000162/0.00383, allocations: 65.38 kB / 419.9 MB, free: 9.602 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.709e-05/0.003847, allocations: 51.41 kB / 419.9 MB, free: 9.539 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.992e-05/0.003897, allocations: 97.59 kB / 420 MB, free: 9.441 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.412e-06/0.003903, allocations: 25.7 kB / 420.1 MB, free: 9.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.316e-05/0.003926, allocations: 86.22 kB / 420.1 MB, free: 9.324 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.003942, allocations: 6.078 kB / 420.2 MB, free: 9.32 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.003971, allocations: 22.73 kB / 420.2 MB, free: 9.297 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.895e-05/0.004, allocations: 313.6 kB / 420.5 MB, free: 8.984 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.004019, allocations: 4.625 kB / 420.5 MB, free: 8.984 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.496e-05/0.004033, allocations: 13.02 kB / 420.5 MB, free: 8.977 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.881e-05/0.004072, allocations: 18.67 kB / 420.5 MB, free: 8.965 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.004074, allocations: 0 / 420.5 MB, free: 8.965 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.252e-05/0.004147, allocations: 57.34 kB / 420.6 MB, free: 8.918 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.00416, allocations: 5.5 kB / 420.6 MB, free: 8.918 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.004165, allocations: 1.656 kB / 420.6 MB, free: 8.918 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.004176, allocations: 0 / 420.6 MB, free: 8.918 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.248e-05/0.004239, allocations: 5.641 kB / 420.6 MB, free: 8.918 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.004244, allocations: 4.656 kB / 420.6 MB, free: 8.914 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.177e-05/0.004266, allocations: 1.25 kB / 420.6 MB, free: 8.914 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.004272, allocations: 1.531 kB / 420.6 MB, free: 8.914 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 3.697e-05/0.004309, allocations: 112.8 kB / 420.7 MB, free: 8.797 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.322e-05/0.004332, allocations: 5.688 kB / 420.7 MB, free: 8.793 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001508/0.004483, allocations: 74.09 kB / 420.8 MB, free: 8.746 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.004487, allocations: 1.391 kB / 420.8 MB, free: 8.746 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.004491, allocations: 8.062 kB / 420.8 MB, free: 8.738 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.004494, allocations: 2.219 kB / 420.8 MB, free: 8.738 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.004614, allocations: 135.6 kB / 420.9 MB, free: 8.574 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.004615, allocations: 0 / 420.9 MB, free: 8.574 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.547e-05/0.00466, allocations: 8.281 kB / 420.9 MB, free: 8.574 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.004664, allocations: 6.219 kB / 420.9 MB, free: 8.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.066e-06/0.004672, allocations: 4.656 kB / 420.9 MB, free: 8.566 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.004673, allocations: 0 / 420.9 MB, free: 8.566 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.004674, allocations: 0 / 420.9 MB, free: 8.566 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.54e-05/0.004769, allocations: 151.9 kB / 421.1 MB, free: 8.426 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.243e-05/0.004782, allocations: 15.36 kB / 421.1 MB, free: 8.414 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.004793, allocations: 4.609 kB / 421.1 MB, free: 8.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.317e-05/0.004846, allocations: 1.281 kB / 421.1 MB, free: 8.41 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.004865, allocations: 7.359 kB / 421.1 MB, free: 8.406 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-06/0.004869, allocations: 1.188 kB / 421.1 MB, free: 8.406 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.094e-05/0.00489, allocations: 81.16 kB / 421.2 MB, free: 8.332 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00489, allocations: 0 / 421.2 MB, free: 8.332 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002354/0.005126, allocations: 3.688 kB / 421.2 MB, free: 8.332 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0001934/0.005319, allocations: 0.6788 MB / 421.9 MB, free: 7.664 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.866e-05/0.005408, allocations: 26.77 kB / 421.9 MB, free: 7.652 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.005409, allocations: 4 kB / 421.9 MB, free: 7.648 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.185e-05/0.005431, allocations: 11.36 kB / 421.9 MB, free: 7.648 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.00572, allocations: 8.266 kB / 421.9 MB, free: 7.645 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008604/0.00658, allocations: 1.195 MB / 423.1 MB, free: 6.457 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.521e-05/0.006615, allocations: 65.47 kB / 423.2 MB, free: 6.383 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.067e-05/0.006646, allocations: 6.312 kB / 423.2 MB, free: 6.383 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/0.006684, allocations: 14.83 kB / 423.2 MB, free: 6.371 MB / 330.7 MB Notification: Performance of SimCode: time 6.72e-07/0.006684, allocations: 0 / 423.2 MB, free: 6.371 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06768/0.07436, allocations: 2.035 MB / 425.2 MB, free: 5.465 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.969/7.044, allocations: 6.969 kB / 425.3 MB, free: 5.461 MB / 330.7 MB " [Timeout remaining time 653] (rm -f AES_AES.Devel_test_models.Test_SR01.pipe ; mkfifo AES_AES.Devel_test_models.Test_SR01.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SR01.pipe >> ../files/AES_AES.Devel_test_models.Test_SR01.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_AES_AES_Devel_test_models_Test_SR01_fmu --startTime=0 --stopTime=10 --stepSize=0.02 --mode=me --timeout=240 --tolerance=1e-06 ../AES_AES_Devel_test_models_Test_SR01.fmu) > AES_AES.Devel_test_models.Test_SR01.pipe 2>&1) [Timeout 252.0] (rm -f AES_AES.Devel_test_models.Test_SR01_OMSimulator-cs-cvode.pipe ; mkfifo AES_AES.Devel_test_models.Test_SR01_OMSimulator-cs-cvode.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SR01_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/AES_AES.Devel_test_models.Test_SR01_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_AES_AES_Devel_test_models_Test_SR01_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=10 --stepSize=0.02 --mode=cs --timeout=240 --tolerance=1e-06 ../AES_AES_Devel_test_models_Test_SR01_OMSimulator-cs-cvode.fmu) > AES_AES.Devel_test_models.Test_SR01_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] (rm -f AES_AES.Devel_test_models.Test_SR01_OMSimulator-cs-euler.pipe ; mkfifo AES_AES.Devel_test_models.Test_SR01_OMSimulator-cs-euler.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SR01_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/AES_AES.Devel_test_models.Test_SR01_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_AES_AES_Devel_test_models_Test_SR01_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=10 --stepSize=0.02 --mode=cs --timeout=240 --tolerance=1e-06 ../AES_AES_Devel_test_models_Test_SR01_OMSimulator-cs-euler.fmu) > AES_AES.Devel_test_models.Test_SR01_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] (rm -f AES_AES.Devel_test_models.Test_SR01_fmpy.pipe ; mkfifo AES_AES.Devel_test_models.Test_SR01_fmpy.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SR01_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/AES_AES.Devel_test_models.Test_SR01_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../AES_AES.Devel_test_models.Test_SR01_fmpy_res.csv --start-time 0 --stop-time 10 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 ../AES_AES_Devel_test_models_Test_SR01.fmu) > AES_AES.Devel_test_models.Test_SR01_fmpy.pipe 2>&1) [Timeout 252.0] [Calling sys.exit(0), Time elapsed: 9.704762382432818]