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.001103/0.001103, 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.001091/0.001091, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.176/1.176, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1672/0.1672, allocations: 22.36 MB / 312.8 MB, free: 12.51 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 67.88 kB / 378.8 MB, free: 12.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2103, allocations: 54.94 MB / 433.8 MB, free: 38.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.TITO_rational_zeroInit): time 0.001632/0.212, allocations: 1.102 MB / 434.9 MB, free: 38.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009755/0.213, allocations: 1.3 MB / 436.2 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.739e-05/0.2131, allocations: 3.062 kB / 436.2 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002345/0.2133, allocations: 67.7 kB / 436.2 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.2135, allocations: 86.55 kB / 436.3 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.2137, allocations: 130 kB / 436.5 MB, free: 37.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000254/0.2139, allocations: 451.1 kB / 436.9 MB, free: 36.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.651e-05/0.214, allocations: 50.53 kB / 436.9 MB, free: 36.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.2142, allocations: 175.3 kB / 437.1 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.2143, allocations: 174.7 kB / 437.3 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.392e-05/0.2144, allocations: 17.97 kB / 437.3 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.714e-05/0.2144, allocations: 19.03 kB / 437.3 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.632e-05/0.2145, allocations: 93.19 kB / 437.4 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.779e-05/0.2146, allocations: 104.6 kB / 437.5 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.2147, allocations: 213.7 kB / 437.7 MB, free: 36.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2147, allocations: 3.328 kB / 437.7 MB, free: 36.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2147, allocations: 3.094 kB / 437.7 MB, free: 36.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.2147, allocations: 0 / 437.7 MB, free: 36.52 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.001269/0.216, allocations: 0.6998 MB / 438.4 MB, free: 36.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.489e-05/0.216, allocations: 8.781 kB / 438.4 MB, free: 36.03 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.695e-05/0.2161, allocations: 59.61 kB / 438.5 MB, free: 35.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.077e-05/0.2161, allocations: 24.78 kB / 438.5 MB, free: 35.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006664/0.2168, allocations: 411.9 kB / 438.9 MB, free: 35.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.2168, allocations: 7.062 kB / 438.9 MB, free: 35.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.2169, allocations: 15.47 kB / 438.9 MB, free: 35.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.217, allocations: 159 kB / 439.1 MB, free: 35.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-06/0.217, allocations: 2.375 kB / 439.1 MB, free: 35.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.2171, allocations: 8 kB / 439.1 MB, free: 35.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2171, allocations: 2.562 kB / 439.1 MB, free: 35.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.2173, allocations: 144.2 kB / 439.3 MB, free: 35.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006956/0.218, allocations: 0.6609 MB / 439.9 MB, free: 35.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004641/0.2184, allocations: 222.2 kB / 440.1 MB, free: 35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.989e-05/0.2185, allocations: 71.22 kB / 440.2 MB, free: 34.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.2185, allocations: 2.781 kB / 440.2 MB, free: 34.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.018e-05/0.2186, allocations: 36.58 kB / 440.2 MB, free: 34.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.132e-06/0.2186, allocations: 3.938 kB / 440.2 MB, free: 34.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003357/0.2189, allocations: 249.3 kB / 440.5 MB, free: 34.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.687e-05/0.2189, allocations: 84.3 kB / 440.6 MB, free: 34.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006759/0.2196, allocations: 420 kB / 441 MB, free: 34.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.2196, allocations: 32.23 kB / 441 MB, free: 34.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.501e-05/0.2197, allocations: 163.8 kB / 441.2 MB, free: 34.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.2197, allocations: 51.98 kB / 441.2 MB, free: 34.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-05/0.2198, allocations: 32.41 kB / 441.3 MB, free: 34.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.085e-05/0.2198, allocations: 338 kB / 441.6 MB, free: 33.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.588e-05/0.2199, allocations: 58.28 kB / 441.6 MB, free: 33.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.279e-05/0.22, allocations: 82.23 kB / 441.7 MB, free: 33.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.2202, allocations: 155.3 kB / 441.9 MB, free: 33.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.2202, allocations: 0 / 441.9 MB, free: 33.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002218/0.2204, allocations: 222.4 kB / 442.1 MB, free: 33.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.787e-06/0.2204, allocations: 8.969 kB / 442.1 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.2204, allocations: 0 / 442.1 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.2204, allocations: 3.938 kB / 442.1 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.2207, allocations: 48.67 kB / 442.2 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.2207, allocations: 0 / 442.2 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002838/0.221, allocations: 61.55 kB / 442.2 MB, free: 33.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.221, allocations: 3.406 kB / 442.2 MB, free: 33.73 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 7.488e-05/0.2211, allocations: 151.7 kB / 442.4 MB, free: 33.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.791e-05/0.2211, allocations: 28.97 kB / 442.4 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.417e-05/0.2212, allocations: 41.25 kB / 442.4 MB, free: 33.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2212, allocations: 2.812 kB / 442.4 MB, free: 33.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.2212, allocations: 0 / 442.4 MB, free: 33.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.2212, allocations: 7.375 kB / 442.4 MB, free: 33.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.2214, allocations: 292.7 kB / 442.7 MB, free: 33.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2214, allocations: 4 kB / 442.7 MB, free: 33.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.2216, allocations: 30.31 kB / 442.8 MB, free: 33.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2216, allocations: 0 / 442.8 MB, free: 33.31 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.2216, allocations: 6.938 kB / 442.8 MB, free: 33.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.2216, allocations: 2.875 kB / 442.8 MB, free: 33.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2216, allocations: 0 / 442.8 MB, free: 33.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.222, allocations: 446.4 kB / 443.2 MB, free: 33.01 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.998e-05/0.222, allocations: 117.7 kB / 443.3 MB, free: 32.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.275e-05/0.222, allocations: 10.12 kB / 443.3 MB, free: 32.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003465/0.2224, allocations: 46.78 kB / 443.4 MB, free: 32.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.54e-05/0.2224, allocations: 7.078 kB / 443.4 MB, free: 32.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.2224, allocations: 3 kB / 443.4 MB, free: 32.89 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005789/0.223, allocations: 339.2 kB / 443.7 MB, free: 32.76 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.223, allocations: 0 / 443.7 MB, free: 32.76 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.2233, allocations: 35.88 kB / 443.8 MB, free: 32.75 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.0004171/0.2237, allocations: 0.9792 MB / 444.7 MB, free: 31.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002066/0.2239, allocations: 163.4 kB / 444.9 MB, free: 31.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.224, allocations: 0 / 444.9 MB, free: 31.88 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.915e-05/0.224, allocations: 77.12 kB / 445 MB, free: 31.85 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.2244, allocations: 45.11 kB / 445 MB, free: 31.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003717/0.2282, allocations: 3.12 MB / 448.1 MB, free: 30.03 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.2283, allocations: 0.7866 MB / 448.9 MB, free: 29.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.307e-05/0.2284, allocations: 48.72 kB / 449 MB, free: 29.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.2285, allocations: 84.09 kB / 449 MB, free: 29.25 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2285, allocations: 0 / 449 MB, free: 29.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.724/2.952, allocations: 4.865 MB / 453.9 MB, free: 28.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.167/12.12, allocations: 16.19 kB / 453.9 MB, free: 28.7 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)