Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.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/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES 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(AES.Devel_test_models.Test_TITO_rational_zeroInit,fileNamePrefix="AES_AES_Devel_test_models_Test_TITO_rational_zeroInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_TITO_rational_zeroInit,fileNamePrefix="AES_AES_Devel_test_models_Test_TITO_rational_zeroInit",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.006831/0.006831, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001838/0.001838, allocations: 195.9 kB / 16.68 MB, free: 5.934 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1017/0.1017, allocations: 22.33 MB / 312.9 MB, free: 8.883 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 67.89 kB / 434.4 MB, free: 14.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09618/0.09813, allocations: 54.95 MB / 489.4 MB, free: 7.391 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_TITO_rational_zeroInit): time 0.002405/0.1006, allocations: 1.226 MB / 490.6 MB, free: 6.168 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.1023, allocations: 1.35 MB / 492 MB, free: 4.801 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.053e-05/0.1024, allocations: 7.938 kB / 492 MB, free: 4.793 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003142/0.1028, allocations: 71.61 kB / 492 MB, free: 4.723 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002564/0.103, allocations: 87.55 kB / 492.1 MB, free: 4.637 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002962/0.1033, allocations: 167.7 kB / 492.3 MB, free: 4.473 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005812/0.1039, allocations: 0.5148 MB / 492.8 MB, free: 3.957 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.1041, allocations: 56.92 kB / 492.9 MB, free: 3.895 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000257/0.1044, allocations: 195.4 kB / 493 MB, free: 3.703 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002807/0.1047, allocations: 187.3 kB / 493.2 MB, free: 3.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.017e-05/0.1047, allocations: 28 kB / 493.3 MB, free: 3.492 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.321e-05/0.1048, allocations: 31.94 kB / 493.3 MB, free: 3.461 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.1049, allocations: 111.8 kB / 493.4 MB, free: 3.352 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.1051, allocations: 123.3 kB / 493.5 MB, free: 3.23 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003956/0.1055, allocations: 302.8 kB / 493.8 MB, free: 2.934 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1055, allocations: 0 / 493.8 MB, free: 2.934 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1055, allocations: 0 / 493.8 MB, free: 2.934 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.1055, allocations: 4 kB / 493.8 MB, free: 2.93 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001812/0.1073, allocations: 0.7167 MB / 494.5 MB, free: 2.16 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1074, allocations: 8.031 kB / 494.5 MB, free: 2.152 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.635e-05/0.1075, allocations: 50.67 kB / 494.6 MB, free: 2.094 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.771e-05/0.1075, allocations: 28.75 kB / 494.6 MB, free: 2.066 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009857/0.1085, allocations: 439.6 kB / 495 MB, free: 1.602 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.1085, allocations: 16.48 kB / 495.1 MB, free: 1.586 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.1086, allocations: 20.38 kB / 495.1 MB, free: 1.566 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003269/0.1089, allocations: 167.4 kB / 495.2 MB, free: 1.398 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1089, allocations: 0 / 495.2 MB, free: 1.398 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.109, allocations: 0 / 495.2 MB, free: 1.398 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.109, allocations: 4 kB / 495.3 MB, free: 1.395 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003836/0.1094, allocations: 182.7 kB / 495.4 MB, free: 1.219 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.1105, allocations: 0.6691 MB / 496.1 MB, free: 0.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004274/0.1109, allocations: 250.6 kB / 496.3 MB, free: 252 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.1111, allocations: 96.75 kB / 496.4 MB, free: 152 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.1111, allocations: 4 kB / 496.4 MB, free: 148 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.1112, allocations: 34.5 kB / 496.5 MB, free: 104 kB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.382e-06/0.1112, allocations: 0 / 496.5 MB, free: 104 kB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006504/0.1118, allocations: 309.3 kB / 496.8 MB, free: 15.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.1119, allocations: 59.34 kB / 496.8 MB, free: 15.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.1129, allocations: 434.8 kB / 497.3 MB, free: 15.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.113, allocations: 33.69 kB / 497.3 MB, free: 15.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.1131, allocations: 160.4 kB / 497.5 MB, free: 15.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.318e-05/0.1132, allocations: 59.47 kB / 497.5 MB, free: 15.03 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.547e-05/0.1132, allocations: 41.7 kB / 497.5 MB, free: 14.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.1134, allocations: 338.8 kB / 497.9 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.1136, allocations: 83.95 kB / 498 MB, free: 14.56 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.1138, allocations: 83.95 kB / 498 MB, free: 14.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/0.1141, allocations: 203 kB / 498.2 MB, free: 14.28 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1141, allocations: 0 / 498.2 MB, free: 14.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004707/0.1146, allocations: 257.4 kB / 498.5 MB, free: 14.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.1146, allocations: 4 kB / 498.5 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.1147, allocations: 7.875 kB / 498.5 MB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.1147, allocations: 4 kB / 498.5 MB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003554/0.115, allocations: 51.97 kB / 498.6 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.115, allocations: 0 / 498.6 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003615/0.1154, allocations: 63.81 kB / 498.6 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.1154, allocations: 4 kB / 498.6 MB, free: 13.89 MB / 382.1 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 (20): * Single equations (assignments): 20 * 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.0001585/0.1156, allocations: 166.4 kB / 498.8 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.022e-05/0.1157, allocations: 27.81 kB / 498.8 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.283e-05/0.1158, allocations: 42.23 kB / 498.9 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1158, allocations: 3.984 kB / 498.9 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1158, allocations: 0 / 498.9 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1158, allocations: 4 kB / 498.9 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004105/0.1162, allocations: 345.4 kB / 499.2 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1162, allocations: 4 kB / 499.2 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/0.1164, allocations: 31.98 kB / 499.2 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1164, allocations: 0 / 499.2 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/0.1165, allocations: 11.94 kB / 499.2 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.1165, allocations: 0 / 499.2 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1165, allocations: 0 / 499.2 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006782/0.1172, allocations: 443.1 kB / 499.7 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.936e-05/0.1173, allocations: 116.9 kB / 499.8 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.748e-05/0.1173, allocations: 11.94 kB / 499.8 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003975/0.1177, allocations: 47.92 kB / 499.9 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.1178, allocations: 11.98 kB / 499.9 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.1178, allocations: 0 / 499.9 MB, free: 12.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008705/0.1187, allocations: 349.8 kB / 0.4885 GB, free: 12.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1187, allocations: 3.938 kB / 0.4885 GB, free: 12.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002789/0.119, allocations: 43.89 kB / 0.4885 GB, free: 12.17 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (P.P11.x_scaled[1],P.P12.x_scaled[1],P.P21.x_scaled[1],P.P22.x_scaled[1]) * 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 (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 Backend phase and start with SimCode phase: time 0.0009857/0.12, allocations: 0.9777 MB / 0.4895 GB, free: 11.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004114/0.1204, allocations: 199.8 kB / 0.4897 GB, free: 10.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1204, allocations: 0 / 0.4897 GB, free: 10.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001848/0.1206, allocations: 99.89 kB / 0.4898 GB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.121, allocations: 48.56 kB / 0.4898 GB, free: 10.83 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005965/0.127, allocations: 3.275 MB / 0.493 GB, free: 7.469 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004248/0.1274, allocations: 0.787 MB / 0.4938 GB, free: 6.652 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001385/0.1275, allocations: 46.27 kB / 0.4938 GB, free: 6.609 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/0.1277, allocations: 103.3 kB / 0.4939 GB, free: 6.508 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1277, allocations: 3.938 kB / 0.4939 GB, free: 6.504 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2297/0.3574, allocations: 5.294 MB / 0.4991 GB, free: 1.285 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.766/9.124, allocations: 18.55 kB / 0.4991 GB, free: 1.27 MB / 382.1 MB (rm -f AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.pipe ; mkfifo AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.pipe >> ../files/AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_TITO_rational_zeroInit_fmu --startTime=0 --stopTime=25 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_TITO_rational_zeroInit.fmu > AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.pipe 2>&1)