Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessBlocks.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.ProcessBlocks.TITO_rational_zeroInit,fileNamePrefix="AES_AES_ProcessBlocks_TITO_rational_zeroInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessBlocks.TITO_rational_zeroInit,fileNamePrefix="AES_AES_ProcessBlocks_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.000793/0.000793, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.005159/0.005159, allocations: 172.2 kB / 16.26 MB, free: 6.613 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.383/1.383, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.189/0.189, allocations: 22.34 MB / 313.8 MB, free: 13.03 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003238/0.0003239, allocations: 8 kB / 380.6 MB, free: 12.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2673, allocations: 55.98 MB / 436.6 MB, free: 37.99 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.TITO_rational_zeroInit): time 0.001013/0.2684, allocations: 0.8064 MB / 437.4 MB, free: 37.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.2695, allocations: 1.292 MB / 438.7 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.27e-05/0.2696, allocations: 2.781 kB / 438.7 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000259/0.2698, allocations: 50.61 kB / 438.8 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001689/0.27, allocations: 76.02 kB / 438.8 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.2702, allocations: 125.2 kB / 439 MB, free: 36.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002877/0.2705, allocations: 423.3 kB / 439.4 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.2706, allocations: 52.45 kB / 439.4 MB, free: 36.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.2708, allocations: 151.6 kB / 439.6 MB, free: 36.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.2709, allocations: 162.4 kB / 439.7 MB, free: 36.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.271, allocations: 8.531 kB / 439.7 MB, free: 36.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.22e-05/0.271, allocations: 10.44 kB / 439.7 MB, free: 36.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.764e-05/0.2711, allocations: 85.36 kB / 439.8 MB, free: 36.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.449e-05/0.2712, allocations: 115.2 kB / 439.9 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.2713, allocations: 209.8 kB / 440.1 MB, free: 36.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2713, allocations: 0 / 440.1 MB, free: 36.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2713, allocations: 0 / 440.1 MB, free: 36.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.2713, allocations: 0 / 440.1 MB, free: 36.08 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001305/0.2726, allocations: 0.6683 MB / 440.8 MB, free: 35.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.2727, allocations: 18.88 kB / 440.8 MB, free: 35.61 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.53e-05/0.2727, allocations: 44.94 kB / 440.9 MB, free: 35.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.249e-05/0.2728, allocations: 32.06 kB / 440.9 MB, free: 35.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007019/0.2735, allocations: 408.1 kB / 441.3 MB, free: 35.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.2735, allocations: 10.62 kB / 441.3 MB, free: 35.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.2735, allocations: 18.34 kB / 441.3 MB, free: 35.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.2738, allocations: 170.3 kB / 441.5 MB, free: 35.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.2738, allocations: 0 / 441.5 MB, free: 35.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.2738, allocations: 6.75 kB / 441.5 MB, free: 35.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.2738, allocations: 2.844 kB / 441.5 MB, free: 35.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002031/0.274, allocations: 150.2 kB / 441.7 MB, free: 35.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007863/0.2748, allocations: 0.6549 MB / 442.3 MB, free: 34.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004879/0.2753, allocations: 221.2 kB / 442.5 MB, free: 34.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.72e-05/0.2754, allocations: 75.39 kB / 442.6 MB, free: 34.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.2754, allocations: 0 / 442.6 MB, free: 34.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.344e-05/0.2754, allocations: 41.47 kB / 442.6 MB, free: 34.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.2754, allocations: 0 / 442.6 MB, free: 34.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003618/0.2758, allocations: 241.2 kB / 442.9 MB, free: 34.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.2758, allocations: 88.08 kB / 443 MB, free: 34.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000711/0.2766, allocations: 429.6 kB / 443.4 MB, free: 34.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.2766, allocations: 29.7 kB / 443.4 MB, free: 34.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.275e-05/0.2767, allocations: 159.6 kB / 443.6 MB, free: 33.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.2767, allocations: 58.53 kB / 443.6 MB, free: 33.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.2767, allocations: 19.25 kB / 443.6 MB, free: 33.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.132e-05/0.2768, allocations: 343.4 kB / 444 MB, free: 33.56 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.96e-05/0.2769, allocations: 58.39 kB / 444 MB, free: 33.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.381e-05/0.277, allocations: 80.89 kB / 444.1 MB, free: 33.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.2771, allocations: 151.8 kB / 444.3 MB, free: 33.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2771, allocations: 0 / 444.3 MB, free: 33.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002337/0.2774, allocations: 205.5 kB / 444.5 MB, free: 33.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.2774, allocations: 9.781 kB / 444.5 MB, free: 33.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.2774, allocations: 192 / 444.5 MB, free: 33.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.2774, allocations: 6.969 kB / 444.5 MB, free: 33.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/0.2777, allocations: 62.2 kB / 444.5 MB, free: 33.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.2777, allocations: 2.594 kB / 444.5 MB, free: 33.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003032/0.278, allocations: 58.56 kB / 444.6 MB, free: 33.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.278, allocations: 5.969 kB / 444.6 MB, free: 33.32 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (18): * Single equations (assignments): 18 * 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.889e-05/0.2781, allocations: 149.2 kB / 444.8 MB, free: 33.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.814e-05/0.2782, allocations: 23.31 kB / 444.8 MB, free: 33.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.478e-05/0.2782, allocations: 47.12 kB / 444.8 MB, free: 33.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.2782, allocations: 3.031 kB / 444.8 MB, free: 33.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2782, allocations: 0 / 444.8 MB, free: 33.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2783, allocations: 0 / 444.8 MB, free: 33.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002633/0.2785, allocations: 298.2 kB / 445.1 MB, free: 32.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2785, allocations: 0 / 445.1 MB, free: 32.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.2787, allocations: 22.72 kB / 445.1 MB, free: 32.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2787, allocations: 0 / 445.1 MB, free: 32.9 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.2787, allocations: 14.5 kB / 445.2 MB, free: 32.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.2787, allocations: 4 kB / 445.2 MB, free: 32.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2787, allocations: 3.938 kB / 445.2 MB, free: 32.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/0.2791, allocations: 436.3 kB / 445.6 MB, free: 32.6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.089e-05/0.2791, allocations: 118.3 kB / 445.7 MB, free: 32.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.2792, allocations: 10.97 kB / 445.7 MB, free: 32.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003605/0.2795, allocations: 50.94 kB / 445.8 MB, free: 32.47 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.2796, allocations: 9.969 kB / 445.8 MB, free: 32.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.2796, allocations: 2.906 kB / 445.8 MB, free: 32.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006146/0.2802, allocations: 341.1 kB / 446.1 MB, free: 32.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2802, allocations: 0 / 446.1 MB, free: 32.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002744/0.2805, allocations: 33.44 kB / 446.1 MB, free: 32.34 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (P11.x_scaled[1],P12.x_scaled[1],P21.x_scaled[1],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 (14): * Single equations (assignments): 14 * 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.0004587/0.281, allocations: 0.9894 MB / 447.1 MB, free: 31.51 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002002/0.2812, allocations: 140.9 kB / 447.3 MB, free: 31.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2812, allocations: 0 / 447.3 MB, free: 31.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.481e-05/0.2813, allocations: 77.86 kB / 447.3 MB, free: 31.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.2817, allocations: 39.25 kB / 447.4 MB, free: 31.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003971/0.2857, allocations: 3.214 MB / 450.6 MB, free: 29.54 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001593/0.2858, allocations: 0.7872 MB / 451.4 MB, free: 28.83 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.286, allocations: 51.06 kB / 451.4 MB, free: 28.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.2861, allocations: 86.39 kB / 451.5 MB, free: 28.76 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2861, allocations: 0 / 451.5 MB, free: 28.76 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1034/0.3895, allocations: 4.514 MB / 456 MB, free: 28.46 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002006/0.3898, allocations: 179.3 kB / 456.2 MB, free: 28.21 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.209/2.599, allocations: 0 / 456.2 MB, free: 28.21 MB / 350.1 MB (rm -f AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe ; mkfifo AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe >> ../files/AES_AES.ProcessBlocks.TITO_rational_zeroInit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_ProcessBlocks_TITO_rational_zeroInit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 AES_AES_ProcessBlocks_TITO_rational_zeroInit.fmu > AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe 2>&1)