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.001014/0.001014, allocations: 107.4 kB / 15.22 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.00104/0.00104, allocations: 193.7 kB / 16.13 MB, free: 6.57 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.202/1.202, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1748/0.1748, allocations: 22.35 MB / 312.3 MB, free: 12.69 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 67.89 kB / 378.1 MB, free: 13.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2182, allocations: 54.94 MB / 433.1 MB, free: 38.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_TITO_rational_zeroInit): time 0.001847/0.2201, allocations: 1.266 MB / 434.4 MB, free: 37.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009894/0.2211, allocations: 1.352 MB / 435.7 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.873e-05/0.2212, allocations: 3.938 kB / 435.7 MB, free: 36.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002429/0.2214, allocations: 60.55 kB / 435.8 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001593/0.2216, allocations: 81.61 kB / 435.8 MB, free: 36.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/0.2218, allocations: 149.4 kB / 436 MB, free: 36.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002809/0.2221, allocations: 488 kB / 436.5 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.2222, allocations: 60.86 kB / 436.5 MB, free: 36.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.2223, allocations: 162.6 kB / 436.7 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.2225, allocations: 175.5 kB / 436.9 MB, free: 36.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.2225, allocations: 8.531 kB / 436.9 MB, free: 36.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.768e-05/0.2226, allocations: 15.38 kB / 436.9 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.431e-05/0.2226, allocations: 86.53 kB / 437 MB, free: 36.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.762e-05/0.2227, allocations: 104 kB / 437.1 MB, free: 36.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.2229, allocations: 290.5 kB / 437.4 MB, free: 36.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.2229, allocations: 6.938 kB / 437.4 MB, free: 36.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.31e-07/0.2229, allocations: 0 / 437.4 MB, free: 36.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.2229, allocations: 0 / 437.4 MB, free: 36.19 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.00134/0.2242, allocations: 0.7143 MB / 438.1 MB, free: 35.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.859e-05/0.2243, allocations: 12.94 kB / 438.1 MB, free: 35.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.145e-05/0.2243, allocations: 44.89 kB / 438.1 MB, free: 35.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.472e-05/0.2244, allocations: 31.09 kB / 438.2 MB, free: 35.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007044/0.2251, allocations: 439.5 kB / 438.6 MB, free: 35.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.2251, allocations: 10.11 kB / 438.6 MB, free: 35.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.2251, allocations: 16.61 kB / 438.6 MB, free: 35.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.2254, allocations: 166.1 kB / 438.8 MB, free: 35.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.2254, allocations: 0 / 438.8 MB, free: 35.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.2254, allocations: 6.875 kB / 438.8 MB, free: 35.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2254, allocations: 3.094 kB / 438.8 MB, free: 35.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002766/0.2257, allocations: 186.4 kB / 439 MB, free: 35.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000788/0.2265, allocations: 0.6757 MB / 439.6 MB, free: 34.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.2268, allocations: 242.3 kB / 439.9 MB, free: 34.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.2269, allocations: 91.69 kB / 440 MB, free: 34.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.2269, allocations: 2.906 kB / 440 MB, free: 34.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.173e-05/0.227, allocations: 41.47 kB / 440 MB, free: 34.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.192e-06/0.227, allocations: 0 / 440 MB, free: 34.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004568/0.2274, allocations: 306.6 kB / 440.3 MB, free: 34.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.818e-05/0.2275, allocations: 57.94 kB / 440.4 MB, free: 34.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007187/0.2282, allocations: 438.1 kB / 440.8 MB, free: 34.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.2282, allocations: 25.7 kB / 440.8 MB, free: 34.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.216e-05/0.2283, allocations: 160 kB / 441 MB, free: 34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.928e-05/0.2283, allocations: 55.62 kB / 441 MB, free: 33.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.196e-05/0.2284, allocations: 40.78 kB / 441.1 MB, free: 33.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.088e-05/0.2284, allocations: 343.2 kB / 441.4 MB, free: 33.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.2286, allocations: 79.73 kB / 441.5 MB, free: 33.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.2287, allocations: 89.44 kB / 441.6 MB, free: 33.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.2289, allocations: 198.7 kB / 441.8 MB, free: 33.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2289, allocations: 0 / 441.8 MB, free: 33.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003165/0.2292, allocations: 260.1 kB / 442 MB, free: 33.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.2293, allocations: 5.938 kB / 442 MB, free: 33.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.2293, allocations: 3.938 kB / 442 MB, free: 33.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.2293, allocations: 7.938 kB / 442 MB, free: 33.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002975/0.2296, allocations: 54.31 kB / 442.1 MB, free: 33.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.2296, allocations: 2.812 kB / 442.1 MB, free: 33.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003027/0.2299, allocations: 59.11 kB / 442.2 MB, free: 33.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.2299, allocations: 2.969 kB / 442.2 MB, free: 33.3 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.017e-05/0.23, allocations: 164 kB / 442.3 MB, free: 33.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.573e-05/0.2301, allocations: 24.16 kB / 442.3 MB, free: 33.15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.686e-05/0.2301, allocations: 38.19 kB / 442.4 MB, free: 33.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2301, allocations: 2.875 kB / 442.4 MB, free: 33.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2302, allocations: 4 kB / 442.4 MB, free: 33.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2302, allocations: 3.234 kB / 442.4 MB, free: 33.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002554/0.2304, allocations: 347.3 kB / 442.7 MB, free: 32.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2304, allocations: 0 / 442.7 MB, free: 32.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.2306, allocations: 30.53 kB / 442.8 MB, free: 32.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2306, allocations: 7.188 kB / 442.8 MB, free: 32.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.2306, allocations: 10.84 kB / 442.8 MB, free: 32.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.2307, allocations: 0 / 442.8 MB, free: 32.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2307, allocations: 0 / 442.8 MB, free: 32.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004533/0.2311, allocations: 437.3 kB / 443.2 MB, free: 32.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.543e-05/0.2312, allocations: 122.4 kB / 443.3 MB, free: 32.47 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/0.2312, allocations: 7.875 kB / 443.3 MB, free: 32.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003409/0.2316, allocations: 54.11 kB / 443.4 MB, free: 32.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.2316, allocations: 10.2 kB / 443.4 MB, free: 32.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.2316, allocations: 3.938 kB / 443.4 MB, free: 32.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006036/0.2322, allocations: 347.5 kB / 443.7 MB, free: 32.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.2322, allocations: 0 / 443.7 MB, free: 32.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002405/0.2325, allocations: 39.78 kB / 443.8 MB, free: 32.31 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.0005856/0.2331, allocations: 0.983 MB / 444.8 MB, free: 31.51 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002836/0.2334, allocations: 194 kB / 444.9 MB, free: 31.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.2334, allocations: 0 / 444.9 MB, free: 31.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.2335, allocations: 99.08 kB / 445 MB, free: 31.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.2339, allocations: 46.33 kB / 445.1 MB, free: 31.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004382/0.2382, allocations: 3.341 MB / 448.4 MB, free: 29.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000154/0.2384, allocations: 0.7853 MB / 449.2 MB, free: 28.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001223/0.2385, allocations: 53.62 kB / 449.3 MB, free: 28.74 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.2387, allocations: 89.47 kB / 449.4 MB, free: 28.67 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2387, allocations: 2.406 kB / 449.4 MB, free: 28.67 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01246/0.2511, allocations: 4.96 MB / 454.3 MB, free: 28.28 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001369/0.2513, allocations: 194 kB / 454.5 MB, free: 28.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.867/2.118, allocations: 0 / 454.5 MB, free: 28.02 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)