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.001218/0.001218, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2084/0.2084, allocations: 22.35 MB / 312.7 MB, free: 12.48 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 59.89 kB / 378.8 MB, free: 12.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2379, allocations: 54.94 MB / 433.8 MB, free: 38.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_TITO_rational_zeroInit): time 0.00228/0.2402, allocations: 1.223 MB / 435 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.2414, allocations: 1.352 MB / 436.3 MB, free: 36.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.524e-05/0.2415, allocations: 2.906 kB / 436.3 MB, free: 36.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003173/0.2419, allocations: 62.97 kB / 436.4 MB, free: 36.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.2421, allocations: 97.78 kB / 436.5 MB, free: 36.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.2423, allocations: 160.7 kB / 436.7 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003634/0.2427, allocations: 0.5136 MB / 437.2 MB, free: 36.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.2428, allocations: 63.64 kB / 437.2 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001846/0.243, allocations: 192.5 kB / 437.4 MB, free: 36.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.2433, allocations: 190.6 kB / 437.6 MB, free: 36.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.622e-05/0.2433, allocations: 32.59 kB / 437.6 MB, free: 36.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.588e-05/0.2433, allocations: 29.25 kB / 437.7 MB, free: 36.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.2435, allocations: 105.2 kB / 437.8 MB, free: 36.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.767e-05/0.2436, allocations: 126.4 kB / 437.9 MB, free: 36.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.2438, allocations: 296.5 kB / 438.2 MB, free: 35.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2438, allocations: 0 / 438.2 MB, free: 35.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2438, allocations: 0 / 438.2 MB, free: 35.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.2438, allocations: 2.781 kB / 438.2 MB, free: 35.98 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.001507/0.2453, allocations: 0.7134 MB / 438.9 MB, free: 35.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.2454, allocations: 10.69 kB / 438.9 MB, free: 35.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.739e-05/0.2454, allocations: 44.75 kB / 439 MB, free: 35.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.44e-05/0.2455, allocations: 36 kB / 439 MB, free: 35.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008127/0.2463, allocations: 438.3 kB / 439.4 MB, free: 35.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.2463, allocations: 10.39 kB / 439.4 MB, free: 35.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.2464, allocations: 12.97 kB / 439.4 MB, free: 35.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002689/0.2466, allocations: 177.5 kB / 439.6 MB, free: 35.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.2467, allocations: 0 / 439.6 MB, free: 35.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.2467, allocations: 4 kB / 439.6 MB, free: 35.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.2467, allocations: 2.969 kB / 439.6 MB, free: 35.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003059/0.247, allocations: 181.9 kB / 439.8 MB, free: 34.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000877/0.2479, allocations: 0.6671 MB / 440.5 MB, free: 34.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000344/0.2482, allocations: 248.5 kB / 440.7 MB, free: 34.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.2484, allocations: 96.58 kB / 440.8 MB, free: 34.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.2484, allocations: 6.797 kB / 440.8 MB, free: 34.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.2484, allocations: 34.56 kB / 440.8 MB, free: 34.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.2484, allocations: 0 / 440.8 MB, free: 34.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005433/0.249, allocations: 309.3 kB / 441.1 MB, free: 34.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.249, allocations: 58.06 kB / 441.2 MB, free: 34.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007668/0.2498, allocations: 436.7 kB / 441.6 MB, free: 33.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.2498, allocations: 29.7 kB / 441.7 MB, free: 33.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.643e-05/0.2499, allocations: 161.3 kB / 441.8 MB, free: 33.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.508e-05/0.25, allocations: 52.2 kB / 441.9 MB, free: 33.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.575e-05/0.25, allocations: 43.64 kB / 441.9 MB, free: 33.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.706e-05/0.2501, allocations: 338.6 kB / 442.2 MB, free: 33.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.2502, allocations: 79.75 kB / 442.3 MB, free: 33.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.2504, allocations: 87.83 kB / 442.4 MB, free: 33.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002682/0.2506, allocations: 195.9 kB / 442.6 MB, free: 33.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.2506, allocations: 0 / 442.6 MB, free: 33.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003533/0.251, allocations: 258.1 kB / 442.8 MB, free: 33.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.251, allocations: 5.375 kB / 442.9 MB, free: 33.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.251, allocations: 11.53 kB / 442.9 MB, free: 33.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.2511, allocations: 2.688 kB / 442.9 MB, free: 33.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003089/0.2514, allocations: 61.38 kB / 442.9 MB, free: 33.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.2514, allocations: 2.938 kB / 442.9 MB, free: 33.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003166/0.2517, allocations: 57.42 kB / 443 MB, free: 33.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.2517, allocations: 2.719 kB / 443 MB, free: 33.1 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.921e-05/0.2518, allocations: 165.4 kB / 443.1 MB, free: 32.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.832e-05/0.2519, allocations: 23.38 kB / 443.2 MB, free: 32.94 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.311e-05/0.252, allocations: 41 kB / 443.2 MB, free: 32.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.252, allocations: 0 / 443.2 MB, free: 32.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.252, allocations: 4 kB / 443.2 MB, free: 32.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.252, allocations: 3.328 kB / 443.2 MB, free: 32.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000258/0.2522, allocations: 349.6 kB / 443.6 MB, free: 32.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2522, allocations: 0 / 443.6 MB, free: 32.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.2524, allocations: 27.19 kB / 443.6 MB, free: 32.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2524, allocations: 0 / 443.6 MB, free: 32.65 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.2525, allocations: 14.81 kB / 443.6 MB, free: 32.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2525, allocations: 0 / 443.6 MB, free: 32.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2525, allocations: 0 / 443.6 MB, free: 32.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004826/0.253, allocations: 444.4 kB / 444 MB, free: 32.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.955e-05/0.253, allocations: 122.4 kB / 444.2 MB, free: 32.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.772e-05/0.2531, allocations: 6.938 kB / 444.2 MB, free: 32.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003495/0.2534, allocations: 47.77 kB / 444.2 MB, free: 32.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.2535, allocations: 13.2 kB / 444.2 MB, free: 32.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.2535, allocations: 6.906 kB / 444.2 MB, free: 32.24 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006466/0.2542, allocations: 339.4 kB / 444.6 MB, free: 32.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2542, allocations: 6.719 kB / 444.6 MB, free: 32.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.2544, allocations: 33.16 kB / 444.6 MB, free: 32.11 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.0006269/0.2551, allocations: 0.9831 MB / 445.6 MB, free: 31.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003344/0.2554, allocations: 215.1 kB / 445.8 MB, free: 31.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2554, allocations: 0 / 445.8 MB, free: 31.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.2555, allocations: 94.05 kB / 445.9 MB, free: 31.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.2559, allocations: 47.27 kB / 445.9 MB, free: 31.19 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004509/0.2604, allocations: 3.28 MB / 449.2 MB, free: 29.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001703/0.2606, allocations: 0.7849 MB / 450 MB, free: 28.61 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.2607, allocations: 50.19 kB / 450 MB, free: 28.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.2609, allocations: 88.72 kB / 450.1 MB, free: 28.54 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2609, allocations: 0 / 450.1 MB, free: 28.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/0.2804, allocations: 5.242 MB / 455.4 MB, free: 28.01 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.302/7.582, allocations: 13.03 kB / 455.4 MB, free: 28 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 & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_TITO_rational_zeroInit_res.csv --start-time 0 --stop-time 25 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.05 AES_AES_Devel_test_models_Test_TITO_rational_zeroInit.fmu > AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.pipe 2>&1)