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.005221/0.005221, allocations: 106.2 kB / 15.73 MB, free: 5.984 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.001164/0.001164, allocations: 194.8 kB / 16.67 MB, free: 5.906 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.0972/0.0972, allocations: 22.32 MB / 312.9 MB, free: 8.871 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001302, allocations: 59.89 kB / 434.4 MB, free: 14.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1093, allocations: 54.96 MB / 489.4 MB, free: 7.379 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.TITO_rational_zeroInit): time 0.003039/0.1124, allocations: 1.1 MB / 490.5 MB, free: 6.281 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.1145, allocations: 1.303 MB / 491.8 MB, free: 4.961 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002259/0.1147, allocations: 0 / 491.8 MB, free: 4.961 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004318/0.1152, allocations: 67.56 kB / 491.8 MB, free: 4.895 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002935/0.1155, allocations: 79.59 kB / 491.9 MB, free: 4.816 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.1159, allocations: 135.8 kB / 492 MB, free: 4.684 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005857/0.1165, allocations: 451.1 kB / 492.5 MB, free: 4.242 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.1166, allocations: 48.61 kB / 492.5 MB, free: 4.191 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003195/0.117, allocations: 183.4 kB / 492.7 MB, free: 4.012 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003241/0.1173, allocations: 175.3 kB / 492.9 MB, free: 3.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.375e-05/0.1174, allocations: 16 kB / 492.9 MB, free: 3.824 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.722e-05/0.1175, allocations: 20 kB / 492.9 MB, free: 3.805 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001407/0.1176, allocations: 95.66 kB / 493 MB, free: 3.711 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.1177, allocations: 99.33 kB / 493.1 MB, free: 3.613 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.118, allocations: 223.1 kB / 493.3 MB, free: 3.395 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.118, allocations: 0 / 493.3 MB, free: 3.395 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1181, allocations: 4 kB / 493.3 MB, free: 3.391 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.606e-05/0.1181, allocations: 0 / 493.3 MB, free: 3.391 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.001796/0.1199, allocations: 0.6969 MB / 494 MB, free: 2.645 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.1199, allocations: 12.03 kB / 494 MB, free: 2.633 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.27e-05/0.12, allocations: 50.64 kB / 494.1 MB, free: 2.574 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.534e-05/0.1201, allocations: 28.66 kB / 494.1 MB, free: 2.547 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008437/0.1209, allocations: 411.3 kB / 494.5 MB, free: 2.109 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.121, allocations: 16.38 kB / 494.5 MB, free: 2.094 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.121, allocations: 16.31 kB / 494.5 MB, free: 2.078 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.1213, allocations: 163.4 kB / 494.7 MB, free: 1.906 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1213, allocations: 0 / 494.7 MB, free: 1.906 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.1213, allocations: 0 / 494.7 MB, free: 1.906 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1213, allocations: 4 kB / 494.7 MB, free: 1.902 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002492/0.1216, allocations: 143.8 kB / 494.9 MB, free: 1.762 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.1227, allocations: 0.6527 MB / 495.5 MB, free: 1.055 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006775/0.1234, allocations: 221.2 kB / 495.7 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.1235, allocations: 77.67 kB / 495.8 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.1235, allocations: 0 / 495.8 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.1236, allocations: 42.55 kB / 495.8 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.032e-06/0.1236, allocations: 7.938 kB / 495.8 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004794/0.1241, allocations: 249.4 kB / 496.1 MB, free: 440 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/0.1241, allocations: 81.11 kB / 496.2 MB, free: 340 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008963/0.125, allocations: 431.1 kB / 496.6 MB, free: 15.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.1251, allocations: 25.7 kB / 496.6 MB, free: 15.87 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.1252, allocations: 156.2 kB / 496.8 MB, free: 15.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.826e-05/0.1253, allocations: 59.19 kB / 496.8 MB, free: 15.65 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.294e-05/0.1253, allocations: 29.72 kB / 496.9 MB, free: 15.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1255, allocations: 338.8 kB / 497.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.1256, allocations: 63.95 kB / 497.2 MB, free: 15.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.1257, allocations: 81.67 kB / 497.3 MB, free: 15.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.1259, allocations: 153.6 kB / 497.5 MB, free: 14.97 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.126, allocations: 0 / 497.5 MB, free: 14.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003195/0.1263, allocations: 209.2 kB / 497.7 MB, free: 14.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.1263, allocations: 4 kB / 497.7 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1263, allocations: 0 / 497.7 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.1263, allocations: 7.938 kB / 497.7 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002936/0.1266, allocations: 55.91 kB / 497.7 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.1267, allocations: 8 kB / 497.8 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003453/0.127, allocations: 47.86 kB / 497.8 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.1271, allocations: 8 kB / 497.8 MB, free: 14.63 MB / 382.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.0001606/0.1272, allocations: 138.6 kB / 497.9 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.554e-05/0.1273, allocations: 35.61 kB / 498 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.513e-05/0.1274, allocations: 41.78 kB / 498 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.1274, allocations: 3.984 kB / 498 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1274, allocations: 3.938 kB / 498 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1274, allocations: 4 kB / 498 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000419/0.1279, allocations: 293.4 kB / 498.3 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.545e-06/0.1279, allocations: 4 kB / 498.3 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.1281, allocations: 27.92 kB / 498.4 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.1281, allocations: 0 / 498.4 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.1281, allocations: 7.938 kB / 498.4 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1281, allocations: 0 / 498.4 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.1281, allocations: 4 kB / 498.4 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005447/0.1287, allocations: 456.5 kB / 498.8 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.839e-05/0.1288, allocations: 108.8 kB / 498.9 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.529e-05/0.1288, allocations: 15.92 kB / 498.9 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003861/0.1292, allocations: 43.94 kB / 499 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-05/0.1293, allocations: 7.984 kB / 499 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.1293, allocations: 8 kB / 499 MB, free: 13.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000715/0.13, allocations: 333.8 kB / 499.3 MB, free: 13.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.13, allocations: 0 / 499.3 MB, free: 13.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003895/0.1304, allocations: 32 kB / 499.3 MB, free: 13 MB / 382.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.0008093/0.1312, allocations: 0.9807 MB / 0.4886 GB, free: 11.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003/0.1315, allocations: 164.1 kB / 0.4888 GB, free: 11.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1315, allocations: 0 / 0.4888 GB, free: 11.83 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.1317, allocations: 71.91 kB / 0.4888 GB, free: 11.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004862/0.1321, allocations: 44.75 kB / 0.4889 GB, free: 11.72 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005602/0.1378, allocations: 3.105 MB / 0.4919 GB, free: 8.527 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.1382, allocations: 0.7831 MB / 0.4927 GB, free: 7.715 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001397/0.1383, allocations: 46.27 kB / 0.4927 GB, free: 7.668 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.1385, allocations: 91.41 kB / 0.4928 GB, free: 7.578 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1385, allocations: 0 / 0.4928 GB, free: 7.578 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03073/0.1692, allocations: 5.022 MB / 0.4977 GB, free: 2.629 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.623/7.793, allocations: 11.94 kB / 0.4977 GB, free: 2.617 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)