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.0009012/0.0009011, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.0008736/0.0008737, allocations: 190.5 kB / 16.13 MB, free: 6.668 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.093/1.093, allocations: 222.9 MB / 239.8 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1483/0.1483, allocations: 22.35 MB / 312.3 MB, free: 12.66 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 55.91 kB / 378.1 MB, free: 13.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1776, allocations: 54.95 MB / 433.1 MB, free: 38.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.TITO_rational_zeroInit): time 0.001546/0.1792, allocations: 1.146 MB / 434.2 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000891/0.1801, allocations: 1.296 MB / 435.5 MB, free: 36.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.325e-05/0.1802, allocations: 2.969 kB / 435.5 MB, free: 36.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002435/0.1804, allocations: 61.11 kB / 435.6 MB, free: 36.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.1806, allocations: 76.08 kB / 435.7 MB, free: 36.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001622/0.1807, allocations: 121.8 kB / 435.8 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002408/0.181, allocations: 427.9 kB / 436.2 MB, free: 36.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.376e-05/0.1811, allocations: 53.42 kB / 436.3 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.1812, allocations: 153.8 kB / 436.4 MB, free: 36.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.1814, allocations: 168.3 kB / 436.6 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.163e-05/0.1814, allocations: 10.03 kB / 436.6 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.632e-05/0.1815, allocations: 16.19 kB / 436.6 MB, free: 36.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.314e-05/0.1815, allocations: 90.31 kB / 436.7 MB, free: 36.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.22e-05/0.1816, allocations: 94.45 kB / 436.8 MB, free: 36.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.1817, allocations: 206.4 kB / 437 MB, free: 36.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1817, allocations: 0 / 437 MB, free: 36.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.81e-07/0.1817, allocations: 0 / 437 MB, free: 36.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.1818, allocations: 0 / 437 MB, free: 36.23 MB / 350.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.001261/0.183, allocations: 0.7085 MB / 437.7 MB, free: 35.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.686e-05/0.183, allocations: 11.94 kB / 437.7 MB, free: 35.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.78e-05/0.1831, allocations: 47.36 kB / 437.8 MB, free: 35.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.981e-05/0.1831, allocations: 31.12 kB / 437.8 MB, free: 35.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006666/0.1838, allocations: 415 kB / 438.2 MB, free: 35.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-06/0.1838, allocations: 14 kB / 438.2 MB, free: 35.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.1839, allocations: 15.94 kB / 438.2 MB, free: 35.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.1841, allocations: 159.7 kB / 438.4 MB, free: 35.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.1841, allocations: 4 kB / 438.4 MB, free: 35.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.1841, allocations: 6.438 kB / 438.4 MB, free: 35.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.1841, allocations: 2.969 kB / 438.4 MB, free: 35.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001898/0.1843, allocations: 151.3 kB / 438.5 MB, free: 35.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007081/0.185, allocations: 0.6512 MB / 439.2 MB, free: 34.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004763/0.1855, allocations: 223.6 kB / 439.4 MB, free: 34.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.257e-05/0.1856, allocations: 74.14 kB / 439.5 MB, free: 34.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.1856, allocations: 0 / 439.5 MB, free: 34.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.477e-06/0.1856, allocations: 34.53 kB / 439.5 MB, free: 34.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 8.42e-07/0.1856, allocations: 0 / 439.5 MB, free: 34.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003394/0.186, allocations: 248.4 kB / 439.8 MB, free: 34.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.793e-05/0.186, allocations: 84.02 kB / 439.8 MB, free: 34.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006494/0.1866, allocations: 422.5 kB / 440.2 MB, free: 34.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.1867, allocations: 33.7 kB / 440.3 MB, free: 34.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.452e-05/0.1867, allocations: 160.4 kB / 440.4 MB, free: 34.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.1868, allocations: 48.73 kB / 440.5 MB, free: 34.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-05/0.1868, allocations: 37.7 kB / 440.5 MB, free: 34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.001e-05/0.1868, allocations: 341.7 kB / 440.9 MB, free: 33.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.911e-05/0.1869, allocations: 61.16 kB / 440.9 MB, free: 33.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.779e-05/0.187, allocations: 77.98 kB / 441 MB, free: 33.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.1872, allocations: 158.9 kB / 441.1 MB, free: 33.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1872, allocations: 0 / 441.1 MB, free: 33.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002241/0.1874, allocations: 213.3 kB / 441.4 MB, free: 33.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/0.1874, allocations: 6.812 kB / 441.4 MB, free: 33.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.1874, allocations: 3.938 kB / 441.4 MB, free: 33.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.317e-06/0.1875, allocations: 3.938 kB / 441.4 MB, free: 33.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/0.1877, allocations: 55.55 kB / 441.4 MB, free: 33.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1877, allocations: 2.875 kB / 441.4 MB, free: 33.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002738/0.188, allocations: 53.2 kB / 441.5 MB, free: 33.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.188, allocations: 2.938 kB / 441.5 MB, free: 33.43 MB / 350.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 7.554e-05/0.1881, allocations: 151.5 kB / 441.6 MB, free: 33.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.629e-05/0.1881, allocations: 28.25 kB / 441.7 MB, free: 33.28 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.322e-05/0.1882, allocations: 38.84 kB / 441.7 MB, free: 33.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1882, allocations: 2.844 kB / 441.7 MB, free: 33.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1882, allocations: 4 kB / 441.7 MB, free: 33.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1882, allocations: 2.5 kB / 441.7 MB, free: 33.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.1885, allocations: 294 kB / 442 MB, free: 33.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1885, allocations: 2.969 kB / 442 MB, free: 33.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.1886, allocations: 21.34 kB / 442 MB, free: 33.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1886, allocations: 0 / 442 MB, free: 33.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.1887, allocations: 14.41 kB / 442 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1887, allocations: 2.656 kB / 442 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1887, allocations: 4 kB / 442 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.189, allocations: 444.7 kB / 442.5 MB, free: 32.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.815e-05/0.189, allocations: 117.7 kB / 442.6 MB, free: 32.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/0.1891, allocations: 6.781 kB / 442.6 MB, free: 32.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003464/0.1894, allocations: 48.72 kB / 442.6 MB, free: 32.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.241e-05/0.1895, allocations: 10.06 kB / 442.6 MB, free: 32.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.1895, allocations: 6.656 kB / 442.7 MB, free: 32.58 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005531/0.19, allocations: 329.4 kB / 443 MB, free: 32.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.19, allocations: 4.188 kB / 443 MB, free: 32.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.1903, allocations: 32.97 kB / 443 MB, free: 32.45 MB / 350.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.0004267/0.1907, allocations: 0.9921 MB / 444 MB, free: 31.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001905/0.1909, allocations: 142.3 kB / 444.1 MB, free: 31.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.1909, allocations: 4 kB / 444.1 MB, free: 31.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.18e-05/0.191, allocations: 79.25 kB / 444.2 MB, free: 31.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.1914, allocations: 44.89 kB / 444.3 MB, free: 31.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00365/0.1951, allocations: 3.185 MB / 447.5 MB, free: 29.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.1952, allocations: 0.7796 MB / 448.2 MB, free: 28.94 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.439e-05/0.1953, allocations: 49.31 kB / 448.3 MB, free: 28.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.1954, allocations: 91.53 kB / 448.4 MB, free: 28.87 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1954, allocations: 0 / 448.4 MB, free: 28.87 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01424/0.2097, allocations: 4.598 MB / 453 MB, free: 28.49 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001226/0.2098, allocations: 186.5 kB / 453.1 MB, free: 28.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.512/1.722, allocations: 0 / 453.1 MB, free: 28.23 MB / 350.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)