Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_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.Devel_test_models.Test_TITO_rational_zeroInit,fileNamePrefix="AES_AES_Devel_test_models_Test_TITO_rational_zeroInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_TITO_rational_zeroInit,fileNamePrefix="AES_AES_Devel_test_models_Test_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.000855/0.0008552, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005145/0.005145, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.208/1.208, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1674/0.1674, allocations: 22.35 MB / 313.8 MB, free: 13.04 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002777/0.0002777, allocations: 8.281 kB / 380.6 MB, free: 12.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2284, allocations: 55.99 MB / 436.6 MB, free: 38.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_TITO_rational_zeroInit): time 0.001029/0.2295, allocations: 0.9159 MB / 437.5 MB, free: 37.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.2306, allocations: 1.337 MB / 438.9 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.936e-05/0.2307, allocations: 3.938 kB / 438.9 MB, free: 36.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002464/0.2309, allocations: 61.62 kB / 438.9 MB, free: 36.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.2311, allocations: 87.39 kB / 439 MB, free: 36.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.2313, allocations: 141.9 kB / 439.2 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000308/0.2316, allocations: 493.2 kB / 439.6 MB, free: 36.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.2317, allocations: 60.58 kB / 439.7 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.2319, allocations: 156.3 kB / 439.8 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001672/0.2321, allocations: 163.1 kB / 440 MB, free: 36.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.645e-05/0.2321, allocations: 12.75 kB / 440 MB, free: 36.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.821e-05/0.2321, allocations: 9.094 kB / 440 MB, free: 36.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.023e-05/0.2322, allocations: 93.91 kB / 440.1 MB, free: 36.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.805e-05/0.2323, allocations: 117.1 kB / 440.2 MB, free: 36.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.2325, allocations: 276.7 kB / 440.5 MB, free: 36.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2325, allocations: 4 kB / 440.5 MB, free: 36.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2325, allocations: 0 / 440.5 MB, free: 36.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.2325, allocations: 0 / 440.5 MB, free: 36.17 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001329/0.2338, allocations: 0.6724 MB / 441.2 MB, free: 35.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.2339, allocations: 18.66 kB / 441.2 MB, free: 35.69 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.499e-05/0.2339, allocations: 45.34 kB / 441.2 MB, free: 35.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/0.234, allocations: 36.45 kB / 441.3 MB, free: 35.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007355/0.2347, allocations: 434.8 kB / 441.7 MB, free: 35.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.2347, allocations: 9.766 kB / 441.7 MB, free: 35.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.937e-05/0.2348, allocations: 16.28 kB / 441.7 MB, free: 35.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.235, allocations: 170.3 kB / 441.9 MB, free: 35.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.235, allocations: 3.188 kB / 441.9 MB, free: 35.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.235, allocations: 4 kB / 441.9 MB, free: 35.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2351, allocations: 2.906 kB / 441.9 MB, free: 35.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002823/0.2353, allocations: 178 kB / 442.1 MB, free: 35.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000802/0.2362, allocations: 0.681 MB / 442.8 MB, free: 34.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003133/0.2365, allocations: 252.6 kB / 443 MB, free: 34.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.2366, allocations: 84.56 kB / 443.1 MB, free: 34.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.2366, allocations: 6.531 kB / 443.1 MB, free: 34.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.294e-05/0.2367, allocations: 38.55 kB / 443.1 MB, free: 34.56 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.273e-06/0.2367, allocations: 0 / 443.1 MB, free: 34.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.000473/0.2371, allocations: 311.3 kB / 443.4 MB, free: 34.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.023e-05/0.2372, allocations: 54.78 kB / 443.5 MB, free: 34.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007342/0.2379, allocations: 447 kB / 443.9 MB, free: 34.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.2379, allocations: 25.7 kB / 444 MB, free: 34.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/0.238, allocations: 157.8 kB / 444.1 MB, free: 34.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/0.238, allocations: 60.59 kB / 444.2 MB, free: 33.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.2381, allocations: 31.09 kB / 444.2 MB, free: 33.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.435e-05/0.2381, allocations: 334.4 kB / 444.5 MB, free: 33.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.2383, allocations: 84.72 kB / 444.6 MB, free: 33.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.2384, allocations: 90 kB / 444.7 MB, free: 33.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.2386, allocations: 194.7 kB / 444.9 MB, free: 33.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2387, allocations: 0 / 444.9 MB, free: 33.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003254/0.239, allocations: 253.7 kB / 445.1 MB, free: 33.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.239, allocations: 10.78 kB / 445.1 MB, free: 33.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.239, allocations: 7.875 kB / 445.1 MB, free: 33.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.239, allocations: 7.688 kB / 445.2 MB, free: 33.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/0.2393, allocations: 49.45 kB / 445.2 MB, free: 33.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.2393, allocations: 3.031 kB / 445.2 MB, free: 33.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003214/0.2397, allocations: 64.47 kB / 445.3 MB, free: 33.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.2397, allocations: 3.031 kB / 445.3 MB, free: 33.31 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (20): * Single equations (assignments): 20 * 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 9.298e-05/0.2398, allocations: 160.7 kB / 445.4 MB, free: 33.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.52e-05/0.2398, allocations: 27.16 kB / 445.5 MB, free: 33.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.676e-05/0.2399, allocations: 40.34 kB / 445.5 MB, free: 33.13 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2399, allocations: 0 / 445.5 MB, free: 33.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2399, allocations: 2.969 kB / 445.5 MB, free: 33.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.2399, allocations: 3.469 kB / 445.5 MB, free: 33.13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.2402, allocations: 347.7 kB / 445.8 MB, free: 32.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2402, allocations: 4 kB / 445.8 MB, free: 32.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/0.2404, allocations: 30.84 kB / 445.9 MB, free: 32.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.2404, allocations: 0 / 445.9 MB, free: 32.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.2404, allocations: 10.81 kB / 445.9 MB, free: 32.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2404, allocations: 0 / 445.9 MB, free: 32.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2404, allocations: 0 / 445.9 MB, free: 32.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004771/0.2409, allocations: 447.7 kB / 446.3 MB, free: 32.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/0.241, allocations: 115.8 kB / 446.4 MB, free: 32.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.241, allocations: 10.81 kB / 446.4 MB, free: 32.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003532/0.2414, allocations: 51.83 kB / 446.5 MB, free: 32.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.2414, allocations: 10.34 kB / 446.5 MB, free: 32.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.2414, allocations: 2.812 kB / 446.5 MB, free: 32.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006448/0.2421, allocations: 352.2 kB / 446.9 MB, free: 32.33 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2421, allocations: 0 / 446.9 MB, free: 32.33 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002469/0.2423, allocations: 34.5 kB / 446.9 MB, free: 32.32 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (P.P11.x_scaled[1],P.P12.x_scaled[1],P.P21.x_scaled[1],P.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 (16): * Single equations (assignments): 16 * 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.0005927/0.2429, allocations: 0.9825 MB / 447.9 MB, free: 31.53 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002923/0.2432, allocations: 202.6 kB / 448.1 MB, free: 31.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2433, allocations: 4 kB / 448.1 MB, free: 31.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.2434, allocations: 97.66 kB / 448.2 MB, free: 31.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.2438, allocations: 40.77 kB / 448.2 MB, free: 31.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004529/0.2483, allocations: 3.368 MB / 451.6 MB, free: 29.47 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001558/0.2485, allocations: 0.7904 MB / 452.4 MB, free: 28.76 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001195/0.2486, allocations: 48.06 kB / 452.4 MB, free: 28.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.2487, allocations: 87.22 kB / 452.5 MB, free: 28.7 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2487, allocations: 3.938 kB / 452.5 MB, free: 28.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5315/0.7802, allocations: 4.862 MB / 457.4 MB, free: 28.39 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002139/0.7805, allocations: 184.8 kB / 457.5 MB, free: 28.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/2.57, allocations: 0 / 457.5 MB, free: 28.14 MB / 350.1 MB (rm -f AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.pipe ; mkfifo AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.pipe >> ../files/AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_TITO_rational_zeroInit_fmu --startTime=0 --stopTime=25 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_TITO_rational_zeroInit.fmu > AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.pipe 2>&1)