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.001166/0.001166, allocations: 100 kB / 15.05 MB, free: 1.105 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.001401/0.001401, allocations: 177.3 kB / 15.95 MB, free: 216 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.423/1.423, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.182/0.182, allocations: 22.35 MB / 313.3 MB, free: 13.07 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002938/0.0002938, allocations: 12 kB / 379.9 MB, free: 12.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2427, allocations: 55.98 MB / 435.9 MB, free: 38.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_TITO_rational_zeroInit): time 0.00111/0.2438, allocations: 0.8778 MB / 436.8 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.245, allocations: 1.328 MB / 438.1 MB, free: 36.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.984e-05/0.2451, allocations: 0 / 438.1 MB, free: 36.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002757/0.2453, allocations: 58.72 kB / 438.2 MB, free: 36.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001689/0.2455, allocations: 80.34 kB / 438.2 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.2457, allocations: 108.3 kB / 438.3 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002378/0.246, allocations: 265 kB / 438.6 MB, free: 36.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.2461, allocations: 47.23 kB / 438.6 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002064/0.2463, allocations: 205.6 kB / 438.8 MB, free: 36.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.2465, allocations: 144 kB / 439 MB, free: 36.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.2465, allocations: 8.531 kB / 439 MB, free: 36.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.443e-05/0.2465, allocations: 12.78 kB / 439 MB, free: 36.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.181e-05/0.2466, allocations: 80.31 kB / 439.1 MB, free: 36.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.355e-05/0.2467, allocations: 58.67 kB / 439.1 MB, free: 36.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.2468, allocations: 229.9 kB / 439.4 MB, free: 36.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.2468, allocations: 0 / 439.4 MB, free: 36.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2468, allocations: 0 / 439.4 MB, free: 36.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.2469, allocations: 0 / 439.4 MB, free: 36.34 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.001323/0.2482, allocations: 0.6766 MB / 440 MB, free: 35.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.2482, allocations: 8.25 kB / 440 MB, free: 35.86 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.327e-05/0.2483, allocations: 52.12 kB / 440.1 MB, free: 35.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.092e-05/0.2483, allocations: 29.56 kB / 440.1 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007525/0.2491, allocations: 434.9 kB / 440.6 MB, free: 35.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.2491, allocations: 10.61 kB / 440.6 MB, free: 35.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.2491, allocations: 12.97 kB / 440.6 MB, free: 35.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.2494, allocations: 174.2 kB / 440.7 MB, free: 35.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.2494, allocations: 0 / 440.7 MB, free: 35.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.2494, allocations: 0 / 440.7 MB, free: 35.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.2494, allocations: 2.656 kB / 440.7 MB, free: 35.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002758/0.2497, allocations: 180.3 kB / 440.9 MB, free: 35.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000846/0.2506, allocations: 0.6758 MB / 441.6 MB, free: 34.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003128/0.2509, allocations: 254.7 kB / 441.9 MB, free: 34.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.2509, allocations: 2.562 kB / 441.9 MB, free: 34.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.379e-05/0.2509, allocations: 41.31 kB / 441.9 MB, free: 34.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.112e-06/0.2509, allocations: 0 / 441.9 MB, free: 34.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004712/0.2514, allocations: 311.2 kB / 442.2 MB, free: 34.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.047e-05/0.2515, allocations: 51.41 kB / 442.2 MB, free: 34.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007005/0.2522, allocations: 441.5 kB / 442.7 MB, free: 34.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.2522, allocations: 32.83 kB / 442.7 MB, free: 34.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.884e-05/0.2523, allocations: 153.9 kB / 442.9 MB, free: 34.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.143e-05/0.2523, allocations: 58.3 kB / 442.9 MB, free: 34.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.017e-06/0.2523, allocations: 0 / 442.9 MB, free: 34.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.579e-05/0.2524, allocations: 344.2 kB / 443.3 MB, free: 33.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.2525, allocations: 84.89 kB / 443.3 MB, free: 33.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.2526, allocations: 89.59 kB / 443.4 MB, free: 33.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.2528, allocations: 102.8 kB / 443.5 MB, free: 33.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.2528, allocations: 0 / 443.5 MB, free: 33.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000313/0.2531, allocations: 249.6 kB / 443.8 MB, free: 33.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.2531, allocations: 9.25 kB / 443.8 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.2531, allocations: 0 / 443.8 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.2531, allocations: 3.938 kB / 443.8 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/0.2535, allocations: 64.03 kB / 443.8 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.2535, allocations: 0 / 443.8 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002987/0.2538, allocations: 55.62 kB / 443.9 MB, free: 33.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.2538, allocations: 11.19 kB / 443.9 MB, free: 33.59 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 9.968e-05/0.2539, allocations: 161.1 kB / 444.1 MB, free: 33.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.35e-05/0.2539, allocations: 26.66 kB / 444.1 MB, free: 33.44 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.354e-05/0.254, allocations: 36.64 kB / 444.1 MB, free: 33.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.254, allocations: 4 kB / 444.1 MB, free: 33.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.254, allocations: 6.609 kB / 444.1 MB, free: 33.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.254, allocations: 0 / 444.1 MB, free: 33.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.2543, allocations: 349.2 kB / 444.5 MB, free: 33.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2543, allocations: 0 / 444.5 MB, free: 33.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.2545, allocations: 23.62 kB / 444.5 MB, free: 33.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.2545, allocations: 0 / 444.5 MB, free: 33.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.2545, allocations: 7.062 kB / 444.5 MB, free: 33.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2545, allocations: 0 / 444.5 MB, free: 33.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2545, allocations: 0 / 444.5 MB, free: 33.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004759/0.255, allocations: 460.3 kB / 445 MB, free: 32.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.721e-05/0.2551, allocations: 111.3 kB / 445.1 MB, free: 32.76 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.571e-05/0.2551, allocations: 2.906 kB / 445.1 MB, free: 32.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003346/0.2555, allocations: 53.38 kB / 445.1 MB, free: 32.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.2555, allocations: 9.656 kB / 445.1 MB, free: 32.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.2556, allocations: 13.86 kB / 445.1 MB, free: 32.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006196/0.2562, allocations: 345.4 kB / 445.5 MB, free: 32.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2562, allocations: 0 / 445.5 MB, free: 32.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002455/0.2564, allocations: 40.34 kB / 445.5 MB, free: 32.61 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.0005874/0.257, allocations: 0.9801 MB / 446.5 MB, free: 31.81 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002843/0.2573, allocations: 190.1 kB / 446.7 MB, free: 31.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2573, allocations: 2.844 kB / 446.7 MB, free: 31.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.2575, allocations: 104.4 kB / 446.8 MB, free: 31.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.2577, allocations: 38.25 kB / 446.8 MB, free: 31.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003916/0.2617, allocations: 2.251 MB / 449.1 MB, free: 30.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/0.2619, allocations: 0.7881 MB / 449.9 MB, free: 30.01 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001396/0.262, allocations: 52.56 kB / 449.9 MB, free: 30 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.2622, allocations: 92.22 kB / 450 MB, free: 29.94 MB / 350.1 MB Notification: Performance of SimCode: time 9.12e-07/0.2622, allocations: 4 kB / 450 MB, free: 29.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7718/1.034, allocations: 5.231 MB / 455.2 MB, free: 29.6 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000136/1.034, allocations: 166.1 kB / 455.4 MB, free: 29.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.981/3.015, allocations: 0 / 455.4 MB, free: 29.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/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: