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.0007973/0.0007973, allocations: 95 kB / 15.05 MB, free: 1.109 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.0008084/0.0008084, allocations: 181.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.182/1.182, allocations: 223.2 MB / 239.9 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1797/0.1797, allocations: 22.35 MB / 313.3 MB, free: 13.11 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002638/0.0002638, allocations: 8 kB / 379.9 MB, free: 12.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2274, allocations: 55.97 MB / 435.9 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.TITO_rational_zeroInit): time 0.001021/0.2285, allocations: 0.7739 MB / 436.7 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.2295, allocations: 1.282 MB / 437.9 MB, free: 36.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.733e-05/0.2296, allocations: 6.844 kB / 437.9 MB, free: 36.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00028/0.2299, allocations: 52.89 kB / 438 MB, free: 36.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001601/0.23, allocations: 76.75 kB / 438.1 MB, free: 36.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.2302, allocations: 103.6 kB / 438.2 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002421/0.2305, allocations: 239.4 kB / 438.4 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.2306, allocations: 41.75 kB / 438.4 MB, free: 36.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001978/0.2308, allocations: 206.9 kB / 438.6 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.231, allocations: 144.2 kB / 438.8 MB, free: 36.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.231, allocations: 12.81 kB / 438.8 MB, free: 36.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.211e-05/0.231, allocations: 8.844 kB / 438.8 MB, free: 36.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.622e-05/0.2311, allocations: 75.16 kB / 438.9 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.117e-05/0.2311, allocations: 54.17 kB / 438.9 MB, free: 36.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.2313, allocations: 160.8 kB / 439.1 MB, free: 36.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.2313, allocations: 0 / 439.1 MB, free: 36.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2313, allocations: 0 / 439.1 MB, free: 36.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.2313, allocations: 2.844 kB / 439.1 MB, free: 36.37 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.001214/0.2325, allocations: 0.6691 MB / 439.8 MB, free: 35.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.2326, allocations: 10.81 kB / 439.8 MB, free: 35.9 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.047e-05/0.2326, allocations: 50.94 kB / 439.8 MB, free: 35.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.2327, allocations: 29.53 kB / 439.9 MB, free: 35.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006841/0.2333, allocations: 408.1 kB / 440.2 MB, free: 35.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.2334, allocations: 9.75 kB / 440.3 MB, free: 35.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.2334, allocations: 19.78 kB / 440.3 MB, free: 35.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.2336, allocations: 155.2 kB / 440.4 MB, free: 35.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.2336, allocations: 0 / 440.4 MB, free: 35.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.2336, allocations: 7.094 kB / 440.4 MB, free: 35.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2336, allocations: 2.812 kB / 440.4 MB, free: 35.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001883/0.2338, allocations: 147.2 kB / 440.6 MB, free: 35.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007561/0.2346, allocations: 0.6584 MB / 441.2 MB, free: 34.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004626/0.2351, allocations: 217 kB / 441.5 MB, free: 34.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.2351, allocations: 0 / 441.5 MB, free: 34.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.231e-05/0.2351, allocations: 44.5 kB / 441.5 MB, free: 34.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 9.32e-07/0.2351, allocations: 0 / 441.5 MB, free: 34.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003445/0.2354, allocations: 245.1 kB / 441.7 MB, free: 34.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.03e-05/0.2355, allocations: 81.08 kB / 441.8 MB, free: 34.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006691/0.2362, allocations: 428.3 kB / 442.2 MB, free: 34.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.2362, allocations: 25.7 kB / 442.3 MB, free: 34.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.447e-05/0.2362, allocations: 162.8 kB / 442.4 MB, free: 34.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.2363, allocations: 51.48 kB / 442.5 MB, free: 34.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.716e-06/0.2363, allocations: 4 kB / 442.5 MB, free: 34.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.184e-05/0.2364, allocations: 350.6 kB / 442.8 MB, free: 33.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.853e-05/0.2364, allocations: 56.73 kB / 442.9 MB, free: 33.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.234e-05/0.2365, allocations: 84.06 kB / 443 MB, free: 33.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.992e-05/0.2366, allocations: 71.86 kB / 443 MB, free: 33.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.2366, allocations: 0 / 443 MB, free: 33.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002275/0.2369, allocations: 210.4 kB / 443.2 MB, free: 33.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.2369, allocations: 3.531 kB / 443.2 MB, free: 33.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-06/0.2369, allocations: 0 / 443.2 MB, free: 33.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/0.2369, allocations: 3.188 kB / 443.2 MB, free: 33.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/0.2371, allocations: 55.45 kB / 443.3 MB, free: 33.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.2372, allocations: 0 / 443.3 MB, free: 33.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002812/0.2374, allocations: 58.77 kB / 443.3 MB, free: 33.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.2375, allocations: 2.844 kB / 443.3 MB, free: 33.72 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.09e-05/0.2375, allocations: 154.9 kB / 443.5 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.35e-05/0.2376, allocations: 23.22 kB / 443.5 MB, free: 33.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.139e-05/0.2377, allocations: 42.38 kB / 443.6 MB, free: 33.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.2377, allocations: 7.781 kB / 443.6 MB, free: 33.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2377, allocations: 3.188 kB / 443.6 MB, free: 33.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.2377, allocations: 0 / 443.6 MB, free: 33.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.2379, allocations: 298.8 kB / 443.9 MB, free: 33.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.238, allocations: 0 / 443.9 MB, free: 33.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.2381, allocations: 20.78 kB / 443.9 MB, free: 33.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.2381, allocations: 2.969 kB / 443.9 MB, free: 33.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.2381, allocations: 14.09 kB / 443.9 MB, free: 33.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.2381, allocations: 4 kB / 443.9 MB, free: 33.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2381, allocations: 0 / 443.9 MB, free: 33.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.2385, allocations: 460.2 kB / 444.4 MB, free: 32.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.299e-05/0.2386, allocations: 112.6 kB / 444.5 MB, free: 32.87 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.2386, allocations: 4 kB / 444.5 MB, free: 32.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003419/0.2389, allocations: 47.92 kB / 444.5 MB, free: 32.86 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.065e-05/0.239, allocations: 9.641 kB / 444.5 MB, free: 32.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.239, allocations: 6.562 kB / 444.5 MB, free: 32.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005906/0.2396, allocations: 336.4 kB / 444.9 MB, free: 32.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.22e-07/0.2396, allocations: 0 / 444.9 MB, free: 32.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.2399, allocations: 39.44 kB / 444.9 MB, free: 32.73 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004326/0.2403, allocations: 1.058 MB / 446 MB, free: 31.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001925/0.2405, allocations: 152 kB / 446.1 MB, free: 31.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.2405, allocations: 3.938 kB / 446.1 MB, free: 31.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.145e-05/0.2406, allocations: 72.84 kB / 446.2 MB, free: 31.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.2409, allocations: 44.39 kB / 446.2 MB, free: 31.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003402/0.2443, allocations: 2.226 MB / 448.5 MB, free: 30.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/0.2444, allocations: 0.7874 MB / 449.2 MB, free: 29.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.307e-05/0.2445, allocations: 49.36 kB / 449.3 MB, free: 29.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.2447, allocations: 90.81 kB / 449.4 MB, free: 29.91 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2447, allocations: 0 / 449.4 MB, free: 29.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.435/1.679, allocations: 4.857 MB / 454.2 MB, free: 29.59 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002348/1.679, allocations: 164.3 kB / 454.4 MB, free: 29.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.644/7.323, allocations: 3.938 kB / 454.4 MB, free: 29.34 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/linux/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) Environment - environmentSimulation: