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.001148/0.001149, allocations: 107.4 kB / 15.34 MB, free: 0.5195 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.001184/0.001184, allocations: 195.6 kB / 16.26 MB, free: 6.625 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.205/1.205, allocations: 222.9 MB / 239.9 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.2051/0.2051, allocations: 22.35 MB / 312.4 MB, free: 12.6 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 63.91 kB / 378.3 MB, free: 12.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.225, allocations: 54.94 MB / 433.3 MB, free: 38.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.TITO_rational_zeroInit): time 0.001787/0.2268, allocations: 1.155 MB / 434.4 MB, free: 37.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.2279, allocations: 1.292 MB / 435.7 MB, free: 37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.888e-05/0.2279, allocations: 2.906 kB / 435.7 MB, free: 37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002613/0.2282, allocations: 52.61 kB / 435.8 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001633/0.2284, allocations: 79.17 kB / 435.8 MB, free: 36.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001807/0.2286, allocations: 117.9 kB / 436 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002939/0.2289, allocations: 450 kB / 436.4 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.229, allocations: 54.06 kB / 436.5 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.2292, allocations: 183.8 kB / 436.6 MB, free: 36.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.2293, allocations: 179 kB / 436.8 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.26e-05/0.2294, allocations: 16.41 kB / 436.8 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.584e-05/0.2294, allocations: 18.97 kB / 436.8 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.875e-05/0.2295, allocations: 101.8 kB / 436.9 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.344e-05/0.2296, allocations: 104.3 kB / 437 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.2297, allocations: 219.8 kB / 437.3 MB, free: 36.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2297, allocations: 0 / 437.3 MB, free: 36.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2297, allocations: 0 / 437.3 MB, free: 36.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.2297, allocations: 0 / 437.3 MB, free: 36.36 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.001352/0.2311, allocations: 0.7017 MB / 438 MB, free: 35.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.2311, allocations: 10.91 kB / 438 MB, free: 35.87 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.555e-05/0.2312, allocations: 51.69 kB / 438 MB, free: 35.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.352e-05/0.2312, allocations: 24.47 kB / 438 MB, free: 35.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000704/0.2319, allocations: 414 kB / 438.4 MB, free: 35.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.232, allocations: 9.938 kB / 438.5 MB, free: 35.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.232, allocations: 11.69 kB / 438.5 MB, free: 35.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.2322, allocations: 169.6 kB / 438.6 MB, free: 35.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.2322, allocations: 4 kB / 438.6 MB, free: 35.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.2323, allocations: 4 kB / 438.6 MB, free: 35.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.2323, allocations: 3.062 kB / 438.6 MB, free: 35.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002071/0.2325, allocations: 146.8 kB / 438.8 MB, free: 35.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007941/0.2333, allocations: 0.6531 MB / 439.4 MB, free: 34.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005021/0.2338, allocations: 230.4 kB / 439.7 MB, free: 34.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.748e-05/0.2339, allocations: 76.83 kB / 439.7 MB, free: 34.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.2339, allocations: 2.812 kB / 439.7 MB, free: 34.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.27e-05/0.2339, allocations: 30.56 kB / 439.8 MB, free: 34.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.2339, allocations: 0 / 439.8 MB, free: 34.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.000366/0.2343, allocations: 251.2 kB / 440 MB, free: 34.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.2343, allocations: 83.8 kB / 440.1 MB, free: 34.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007005/0.235, allocations: 421.6 kB / 440.5 MB, free: 34.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.2351, allocations: 33.7 kB / 440.5 MB, free: 34.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.022e-05/0.2351, allocations: 160.8 kB / 440.7 MB, free: 34.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.2352, allocations: 49.16 kB / 440.8 MB, free: 34.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-05/0.2352, allocations: 36.33 kB / 440.8 MB, free: 34.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.73e-05/0.2353, allocations: 341.6 kB / 441.1 MB, free: 33.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.014e-05/0.2354, allocations: 60 kB / 441.2 MB, free: 33.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.2e-05/0.2354, allocations: 76.11 kB / 441.3 MB, free: 33.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.2356, allocations: 161.6 kB / 441.4 MB, free: 33.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2356, allocations: 3.328 kB / 441.4 MB, free: 33.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002314/0.2359, allocations: 210.2 kB / 441.6 MB, free: 33.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.2359, allocations: 3.812 kB / 441.6 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2359, allocations: 3.188 kB / 441.6 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.2359, allocations: 3.938 kB / 441.6 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.2362, allocations: 53.45 kB / 441.7 MB, free: 33.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.2362, allocations: 7.266 kB / 441.7 MB, free: 33.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002936/0.2365, allocations: 56.52 kB / 441.7 MB, free: 33.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.2365, allocations: 2.812 kB / 441.7 MB, free: 33.57 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 8.315e-05/0.2366, allocations: 149.7 kB / 441.9 MB, free: 33.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.769e-05/0.2366, allocations: 28.09 kB / 441.9 MB, free: 33.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.799e-05/0.2367, allocations: 42.44 kB / 442 MB, free: 33.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.2367, allocations: 2.875 kB / 442 MB, free: 33.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2367, allocations: 4 kB / 442 MB, free: 33.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2367, allocations: 0 / 442 MB, free: 33.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.237, allocations: 294.8 kB / 442.3 MB, free: 33.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.237, allocations: 0 / 442.3 MB, free: 33.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.2372, allocations: 27.12 kB / 442.3 MB, free: 33.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.2372, allocations: 0 / 442.3 MB, free: 33.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.2372, allocations: 11.09 kB / 442.3 MB, free: 33.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2372, allocations: 2.875 kB / 442.3 MB, free: 33.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2372, allocations: 3.938 kB / 442.3 MB, free: 33.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003518/0.2376, allocations: 444.8 kB / 442.7 MB, free: 32.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.456e-05/0.2376, allocations: 115.7 kB / 442.9 MB, free: 32.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/0.2377, allocations: 10.27 kB / 442.9 MB, free: 32.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003588/0.238, allocations: 45.59 kB / 442.9 MB, free: 32.72 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.485e-05/0.2381, allocations: 6.625 kB / 442.9 MB, free: 32.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-06/0.2381, allocations: 9.344 kB / 442.9 MB, free: 32.72 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005939/0.2387, allocations: 333.9 kB / 443.2 MB, free: 32.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2387, allocations: 0 / 443.2 MB, free: 32.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002748/0.239, allocations: 38.59 kB / 443.3 MB, free: 32.59 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.0004864/0.2395, allocations: 0.987 MB / 444.3 MB, free: 31.76 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002239/0.2397, allocations: 157.8 kB / 444.4 MB, free: 31.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.2397, allocations: 4 kB / 444.4 MB, free: 31.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.514e-05/0.2398, allocations: 73.77 kB / 444.5 MB, free: 31.69 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/0.2402, allocations: 39.8 kB / 444.5 MB, free: 31.67 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003951/0.2442, allocations: 3.182 MB / 447.7 MB, free: 29.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.2444, allocations: 0.7833 MB / 448.5 MB, free: 29.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001056/0.2445, allocations: 56.72 kB / 448.6 MB, free: 29.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.2446, allocations: 83.83 kB / 448.6 MB, free: 29 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2446, allocations: 2.625 kB / 448.6 MB, free: 29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01363/0.2582, allocations: 4.764 MB / 453.4 MB, free: 28.61 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001277/0.2584, allocations: 175.3 kB / 453.6 MB, free: 28.35 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/1.977, allocations: 0 / 453.6 MB, free: 28.35 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)