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.0009473/0.0009473, 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.0009613/0.0009613, allocations: 192 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.331/1.331, 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.1696/0.1696, allocations: 22.35 MB / 312.7 MB, free: 12.53 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 67.89 kB / 378.8 MB, free: 12.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2041, allocations: 54.95 MB / 433.8 MB, free: 38.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_TITO_rational_zeroInit): time 0.001909/0.206, allocations: 1.208 MB / 435 MB, free: 38.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.2071, allocations: 1.357 MB / 436.3 MB, free: 37.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.045e-05/0.2072, allocations: 3.688 kB / 436.3 MB, free: 37.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000244/0.2074, allocations: 62 kB / 436.4 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000166/0.2076, allocations: 98 kB / 436.5 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.2078, allocations: 159.7 kB / 436.7 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002976/0.2081, allocations: 0.5226 MB / 437.2 MB, free: 36.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.2082, allocations: 61.12 kB / 437.2 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.2084, allocations: 190.3 kB / 437.4 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/0.2085, allocations: 191.3 kB / 437.6 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.232e-05/0.2086, allocations: 27.94 kB / 437.6 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.252e-05/0.2086, allocations: 32.5 kB / 437.7 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.268e-05/0.2087, allocations: 100.7 kB / 437.8 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.274e-05/0.2088, allocations: 122.4 kB / 437.9 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.209, allocations: 301.4 kB / 438.2 MB, free: 36.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.209, allocations: 0 / 438.2 MB, free: 36.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.209, allocations: 0 / 438.2 MB, free: 36.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.209, allocations: 0 / 438.2 MB, free: 36.35 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.001334/0.2103, allocations: 0.718 MB / 438.9 MB, free: 35.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.829e-05/0.2104, allocations: 8.812 kB / 438.9 MB, free: 35.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.282e-05/0.2104, allocations: 37.56 kB / 438.9 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.2104, allocations: 38.55 kB / 439 MB, free: 35.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007032/0.2112, allocations: 443.6 kB / 439.4 MB, free: 35.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.2112, allocations: 10.8 kB / 439.4 MB, free: 35.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.2112, allocations: 13.16 kB / 439.4 MB, free: 35.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.2114, allocations: 165.7 kB / 439.6 MB, free: 35.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.2115, allocations: 3.938 kB / 439.6 MB, free: 35.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.2115, allocations: 10.41 kB / 439.6 MB, free: 35.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2115, allocations: 2.281 kB / 439.6 MB, free: 35.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000261/0.2117, allocations: 181.9 kB / 439.8 MB, free: 35.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007567/0.2125, allocations: 0.6706 MB / 440.5 MB, free: 34.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.2128, allocations: 250.7 kB / 440.7 MB, free: 34.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.2129, allocations: 93.27 kB / 440.8 MB, free: 34.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.213, allocations: 2.719 kB / 440.8 MB, free: 34.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.015e-05/0.213, allocations: 38.56 kB / 440.8 MB, free: 34.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.192e-06/0.213, allocations: 0 / 440.8 MB, free: 34.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004613/0.2134, allocations: 312.2 kB / 441.1 MB, free: 34.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.607e-05/0.2135, allocations: 54.55 kB / 441.2 MB, free: 34.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00071/0.2142, allocations: 442.5 kB / 441.6 MB, free: 34.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.2142, allocations: 25.7 kB / 441.7 MB, free: 34.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.873e-05/0.2143, allocations: 157.7 kB / 441.8 MB, free: 34.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.2143, allocations: 58.56 kB / 441.9 MB, free: 34.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.202e-05/0.2144, allocations: 35.34 kB / 441.9 MB, free: 34.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.507e-05/0.2144, allocations: 339.5 kB / 442.2 MB, free: 33.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.2146, allocations: 86.81 kB / 442.3 MB, free: 33.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.2147, allocations: 81.42 kB / 442.4 MB, free: 33.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.2149, allocations: 195 kB / 442.6 MB, free: 33.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.2149, allocations: 0 / 442.6 MB, free: 33.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003156/0.2153, allocations: 265.8 kB / 442.8 MB, free: 33.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.948e-06/0.2153, allocations: 3.938 kB / 442.9 MB, free: 33.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2153, allocations: 6.562 kB / 442.9 MB, free: 33.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.2153, allocations: 0 / 442.9 MB, free: 33.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002976/0.2156, allocations: 58.17 kB / 442.9 MB, free: 33.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.2156, allocations: 6.844 kB / 442.9 MB, free: 33.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003111/0.2159, allocations: 58.91 kB / 443 MB, free: 33.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.2159, allocations: 2.875 kB / 443 MB, free: 33.46 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 8.948e-05/0.216, allocations: 161.9 kB / 443.1 MB, free: 33.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.728e-05/0.2161, allocations: 23.06 kB / 443.2 MB, free: 33.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.362e-05/0.2162, allocations: 41.11 kB / 443.2 MB, free: 33.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2162, allocations: 0 / 443.2 MB, free: 33.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/0.2162, allocations: 0 / 443.2 MB, free: 33.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.2162, allocations: 3.422 kB / 443.2 MB, free: 33.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/0.2164, allocations: 362.7 kB / 443.6 MB, free: 33.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2164, allocations: 0 / 443.6 MB, free: 33.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.2166, allocations: 28.97 kB / 443.6 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2166, allocations: 0 / 443.6 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.2167, allocations: 15.12 kB / 443.6 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2167, allocations: 0 / 443.6 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2167, allocations: 0 / 443.6 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004521/0.2171, allocations: 438.6 kB / 444 MB, free: 32.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.334e-05/0.2172, allocations: 119 kB / 444.1 MB, free: 32.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.663e-05/0.2172, allocations: 10.2 kB / 444.2 MB, free: 32.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003509/0.2176, allocations: 49.22 kB / 444.2 MB, free: 32.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.2176, allocations: 8.906 kB / 444.2 MB, free: 32.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.2176, allocations: 6.719 kB / 444.2 MB, free: 32.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006461/0.2183, allocations: 349.7 kB / 444.6 MB, free: 32.47 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2183, allocations: 0 / 444.6 MB, free: 32.47 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002472/0.2186, allocations: 34.47 kB / 444.6 MB, free: 32.47 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.0005811/0.2191, allocations: 0.98 MB / 445.6 MB, free: 31.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003167/0.2195, allocations: 211.8 kB / 445.8 MB, free: 31.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2195, allocations: 0 / 445.8 MB, free: 31.6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.2196, allocations: 100.5 kB / 445.9 MB, free: 31.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.22, allocations: 51.19 kB / 445.9 MB, free: 31.55 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004201/0.2242, allocations: 3.27 MB / 449.2 MB, free: 29.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.2243, allocations: 0.7947 MB / 450 MB, free: 28.97 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001141/0.2245, allocations: 51.09 kB / 450 MB, free: 28.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.2246, allocations: 90.44 kB / 450.1 MB, free: 28.9 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2246, allocations: 0 / 450.1 MB, free: 28.9 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.094/2.319, allocations: 5.234 MB / 455.4 MB, free: 28.37 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.916/12.23, allocations: 9.047 kB / 455.4 MB, free: 28.36 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)