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.0009913/0.0009914, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.001238/0.001238, allocations: 172.7 kB / 15.95 MB, free: 208 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.343/1.343, allocations: 223.2 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2373/0.2373, allocations: 22.36 MB / 313.4 MB, free: 13.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003015/0.0003015, allocations: 8 kB / 380 MB, free: 12.51 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2709, allocations: 55.98 MB / 436 MB, free: 38.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_TITO_rational_zeroInit): time 0.001255/0.2722, allocations: 0.8759 MB / 436.9 MB, free: 37.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.2734, allocations: 1.322 MB / 438.2 MB, free: 36.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.365e-05/0.2735, allocations: 10.28 kB / 438.2 MB, free: 36.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.2738, allocations: 57.94 kB / 438.3 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001783/0.274, allocations: 70.12 kB / 438.3 MB, free: 36.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.2742, allocations: 115 kB / 438.4 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003543/0.2745, allocations: 430.3 kB / 438.9 MB, free: 36.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.2747, allocations: 50.25 kB / 438.9 MB, free: 36.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.2748, allocations: 192.8 kB / 439.1 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.275, allocations: 165 kB / 439.3 MB, free: 36.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.286e-05/0.2751, allocations: 10.03 kB / 439.3 MB, free: 36.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.384e-05/0.2751, allocations: 7.688 kB / 439.3 MB, free: 36.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.263e-05/0.2752, allocations: 81.14 kB / 439.4 MB, free: 36.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.895e-05/0.2752, allocations: 64.05 kB / 439.4 MB, free: 36.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.2754, allocations: 227.9 kB / 439.6 MB, free: 36.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2754, allocations: 7.938 kB / 439.7 MB, free: 36.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2754, allocations: 3.406 kB / 439.7 MB, free: 36.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.2754, allocations: 0 / 439.7 MB, free: 36.25 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.001325/0.2768, allocations: 0.6718 MB / 440.3 MB, free: 35.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.2768, allocations: 8.906 kB / 440.3 MB, free: 35.79 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.313e-05/0.2769, allocations: 48.59 kB / 440.4 MB, free: 35.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.951e-05/0.2769, allocations: 34.56 kB / 440.4 MB, free: 35.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007241/0.2777, allocations: 421.7 kB / 440.8 MB, free: 35.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.2777, allocations: 11.98 kB / 440.8 MB, free: 35.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/0.2777, allocations: 18.69 kB / 440.9 MB, free: 35.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.278, allocations: 167.4 kB / 441 MB, free: 35.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.278, allocations: 3.75 kB / 441 MB, free: 35.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.278, allocations: 4 kB / 441 MB, free: 35.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-06/0.278, allocations: 7.875 kB / 441 MB, free: 35.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002906/0.2783, allocations: 183 kB / 441.2 MB, free: 35.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000864/0.2792, allocations: 0.6668 MB / 441.9 MB, free: 34.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003448/0.2796, allocations: 256.4 kB / 442.1 MB, free: 34.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.2797, allocations: 89.88 kB / 442.2 MB, free: 34.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.2797, allocations: 2.812 kB / 442.2 MB, free: 34.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.2798, allocations: 33.89 kB / 442.3 MB, free: 34.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.2798, allocations: 0 / 442.3 MB, free: 34.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004971/0.2803, allocations: 307.5 kB / 442.6 MB, free: 34.53 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/0.2803, allocations: 55.22 kB / 442.6 MB, free: 34.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006792/0.281, allocations: 446.2 kB / 443 MB, free: 34.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.281, allocations: 29.7 kB / 443.1 MB, free: 34.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.269e-05/0.2811, allocations: 157.4 kB / 443.2 MB, free: 34.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.313e-05/0.2811, allocations: 60.34 kB / 443.3 MB, free: 34.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.216e-05/0.2812, allocations: 6.875 kB / 443.3 MB, free: 34.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.969e-05/0.2812, allocations: 342.1 kB / 443.6 MB, free: 33.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.2814, allocations: 86.91 kB / 443.7 MB, free: 33.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.2815, allocations: 87.16 kB / 443.8 MB, free: 33.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.2816, allocations: 97.19 kB / 443.9 MB, free: 33.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2816, allocations: 0 / 443.9 MB, free: 33.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00033/0.282, allocations: 256 kB / 444.1 MB, free: 33.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.282, allocations: 5.219 kB / 444.1 MB, free: 33.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.282, allocations: 0 / 444.1 MB, free: 33.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.282, allocations: 6.641 kB / 444.2 MB, free: 33.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003057/0.2823, allocations: 57.84 kB / 444.2 MB, free: 33.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.2824, allocations: 0 / 444.2 MB, free: 33.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002925/0.2827, allocations: 65.56 kB / 444.3 MB, free: 33.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.2827, allocations: 6.906 kB / 444.3 MB, free: 33.48 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001064/0.2828, allocations: 154.2 kB / 444.4 MB, free: 33.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/0.2828, allocations: 25.91 kB / 444.5 MB, free: 33.33 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.299e-05/0.2829, allocations: 44.38 kB / 444.5 MB, free: 33.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2829, allocations: 0 / 444.5 MB, free: 33.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.2829, allocations: 6.828 kB / 444.5 MB, free: 33.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.283, allocations: 4 kB / 444.5 MB, free: 33.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.2832, allocations: 342.3 kB / 444.8 MB, free: 33.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2832, allocations: 0 / 444.8 MB, free: 33.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/0.2834, allocations: 28.48 kB / 444.9 MB, free: 33.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.2834, allocations: 2.531 kB / 444.9 MB, free: 33.03 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.2835, allocations: 2.562 kB / 444.9 MB, free: 33.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2835, allocations: 0 / 444.9 MB, free: 33.03 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2835, allocations: 0 / 444.9 MB, free: 33.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005131/0.284, allocations: 457.3 kB / 445.3 MB, free: 32.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-05/0.2841, allocations: 112 kB / 445.4 MB, free: 32.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/0.2841, allocations: 11.05 kB / 445.4 MB, free: 32.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003146/0.2844, allocations: 53.98 kB / 445.5 MB, free: 32.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/0.2845, allocations: 10.06 kB / 445.5 MB, free: 32.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.2845, allocations: 10.94 kB / 445.5 MB, free: 32.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006002/0.2851, allocations: 352 kB / 445.9 MB, free: 32.49 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2851, allocations: 0 / 445.9 MB, free: 32.49 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002691/0.2854, allocations: 38.59 kB / 445.9 MB, free: 32.48 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 (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.0007007/0.2861, allocations: 0.9711 MB / 446.9 MB, free: 31.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003385/0.2865, allocations: 202.9 kB / 447.1 MB, free: 31.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2865, allocations: 0 / 447.1 MB, free: 31.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.2866, allocations: 98.83 kB / 447.2 MB, free: 31.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.287, allocations: 44.98 kB / 447.2 MB, free: 31.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004124/0.2911, allocations: 2.27 MB / 449.5 MB, free: 30.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001939/0.2913, allocations: 0.7832 MB / 450.3 MB, free: 29.89 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001352/0.2915, allocations: 51.94 kB / 450.3 MB, free: 29.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.2916, allocations: 90.48 kB / 450.4 MB, free: 29.82 MB / 350.1 MB Notification: Performance of SimCode: time 9.52e-07/0.2916, allocations: 0 / 450.4 MB, free: 29.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01574/0.3074, allocations: 5.253 MB / 455.7 MB, free: 29.48 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001286/0.3076, allocations: 178.1 kB / 455.8 MB, free: 29.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.816/2.124, allocations: 1.375 kB / 455.8 MB, free: 29.23 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/linux/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) Environment - environmentSimulation: