Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessBlocks.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.ProcessBlocks.TITO_rational_zeroInit,fileNamePrefix="AES_AES_ProcessBlocks_TITO_rational_zeroInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessBlocks.TITO_rational_zeroInit,fileNamePrefix="AES_AES_ProcessBlocks_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.004914/0.004914, allocations: 97.41 kB / 15.73 MB, free: 6.039 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.001207/0.001207, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2065/0.2065, allocations: 22.35 MB / 312.9 MB, free: 12.4 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 65.86 kB / 434.4 MB, free: 35.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1143, allocations: 54.96 MB / 489.4 MB, free: 3.855 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.TITO_rational_zeroInit): time 0.00185/0.1162, allocations: 1.122 MB / 490.5 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.1174, allocations: 1.295 MB / 491.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.95e-05/0.1175, allocations: 4 kB / 491.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003235/0.1179, allocations: 63.56 kB / 491.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001868/0.1181, allocations: 79.59 kB / 492 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.1183, allocations: 139.8 kB / 492.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000386/0.1187, allocations: 447.2 kB / 492.5 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.1189, allocations: 52.38 kB / 492.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.1191, allocations: 179.4 kB / 492.8 MB, free: 484 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002121/0.1193, allocations: 167.4 kB / 492.9 MB, free: 316 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.739e-05/0.1193, allocations: 23.94 kB / 492.9 MB, free: 292 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.966e-05/0.1194, allocations: 16 kB / 493 MB, free: 276 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.874e-05/0.1195, allocations: 95.7 kB / 493 MB, free: 180 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.692e-05/0.1196, allocations: 103.3 kB / 493.1 MB, free: 76 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003118/0.1199, allocations: 219 kB / 493.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1199, allocations: 4 kB / 493.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.386e-06/0.1199, allocations: 4 kB / 493.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.1199, allocations: 3.938 kB / 493.4 MB, free: 15.85 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001773/0.1217, allocations: 0.6969 MB / 494.1 MB, free: 15.1 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.1217, allocations: 16.03 kB / 494.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.877e-05/0.1219, allocations: 50.67 kB / 494.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.978e-05/0.1219, allocations: 32.75 kB / 494.2 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009024/0.1228, allocations: 411.5 kB / 494.6 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.1229, allocations: 8.375 kB / 494.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/0.1229, allocations: 16.33 kB / 494.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/0.1232, allocations: 159.4 kB / 494.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1232, allocations: 0 / 494.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.1232, allocations: 4 kB / 494.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1232, allocations: 4 kB / 494.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002561/0.1235, allocations: 151.8 kB / 494.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.1246, allocations: 0.6568 MB / 495.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006095/0.1252, allocations: 221.2 kB / 495.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.1254, allocations: 69.69 kB / 495.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.1254, allocations: 3.938 kB / 495.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.1254, allocations: 38.56 kB / 495.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.1254, allocations: 3.938 kB / 495.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.00053/0.126, allocations: 245.6 kB / 496.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.549e-05/0.1261, allocations: 89.05 kB / 496.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008987/0.127, allocations: 423.2 kB / 496.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.127, allocations: 29.7 kB / 496.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.1271, allocations: 160.3 kB / 496.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.56e-05/0.1272, allocations: 55.48 kB / 496.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.119e-05/0.1273, allocations: 33.7 kB / 496.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.1275, allocations: 342.8 kB / 497.2 MB, free: 11.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.1276, allocations: 63.89 kB / 497.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.1277, allocations: 81.67 kB / 497.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002333/0.128, allocations: 149.6 kB / 497.5 MB, free: 11.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.128, allocations: 0 / 497.5 MB, free: 11.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003646/0.1284, allocations: 209.3 kB / 497.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1284, allocations: 8 kB / 497.7 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.1284, allocations: 0 / 497.7 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.1284, allocations: 11.92 kB / 497.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003635/0.1288, allocations: 55.91 kB / 497.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.1288, allocations: 4 kB / 497.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000317/0.1291, allocations: 47.83 kB / 497.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.1291, allocations: 4.625 kB / 497.9 MB, free: 11.08 MB / 366.1 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 (18): * Single equations (assignments): 18 * 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.0001503/0.1293, allocations: 156.1 kB / 498 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.534e-05/0.1294, allocations: 31.75 kB / 498 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.304e-05/0.1295, allocations: 41.77 kB / 498.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1295, allocations: 0 / 498.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1295, allocations: 4 kB / 498.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1295, allocations: 0 / 498.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004732/0.13, allocations: 301.5 kB / 498.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.13, allocations: 0 / 498.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.1302, allocations: 20 kB / 498.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.473e-06/0.1302, allocations: 4 kB / 498.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.1302, allocations: 11.92 kB / 498.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.1302, allocations: 4 kB / 498.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1302, allocations: 0 / 498.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005786/0.1308, allocations: 440.3 kB / 498.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000149/0.131, allocations: 116.9 kB / 499 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.16e-05/0.131, allocations: 11.94 kB / 499 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003794/0.1314, allocations: 47.92 kB / 499 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.889e-05/0.1314, allocations: 7.984 kB / 499 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.1315, allocations: 8 kB / 499 MB, free: 9.809 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007522/0.1322, allocations: 329.8 kB / 499.4 MB, free: 9.488 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1322, allocations: 0 / 499.4 MB, free: 9.488 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002991/0.1325, allocations: 39.95 kB / 499.4 MB, free: 9.449 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (P11.x_scaled[1],P12.x_scaled[1],P21.x_scaled[1],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 (14): * Single equations (assignments): 14 * 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.0009404/0.1335, allocations: 0.9966 MB / 0.4887 GB, free: 8.426 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000306/0.1338, allocations: 148 kB / 0.4888 GB, free: 8.281 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1338, allocations: 0 / 0.4888 GB, free: 8.281 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.1339, allocations: 75.89 kB / 0.4889 GB, free: 8.207 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/0.1344, allocations: 46.86 kB / 0.4889 GB, free: 8.168 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005661/0.1401, allocations: 3.119 MB / 0.492 GB, free: 4.961 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004756/0.1406, allocations: 0.787 MB / 0.4927 GB, free: 4.145 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000137/0.1407, allocations: 46.27 kB / 0.4928 GB, free: 4.098 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.1409, allocations: 91.41 kB / 0.4929 GB, free: 4.008 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1409, allocations: 0 / 0.4929 GB, free: 4.008 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02777/0.1687, allocations: 4.915 MB / 0.4977 GB, free: 15.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.859/8.027, allocations: 13.83 kB / 0.4977 GB, free: 15.15 MB / 382.1 MB (rm -f AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe ; mkfifo AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe >> ../files/AES_AES.ProcessBlocks.TITO_rational_zeroInit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_ProcessBlocks_TITO_rational_zeroInit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 AES_AES_ProcessBlocks_TITO_rational_zeroInit.fmu > AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe 2>&1)