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.0008914/0.0008914, allocations: 92.31 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.001007/0.001007, 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.391/1.391, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2219/0.2219, allocations: 22.36 MB / 313.4 MB, free: 13.1 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003487, allocations: 8 kB / 380 MB, free: 12.47 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3616, allocations: 55.98 MB / 436 MB, free: 38.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.TITO_rational_zeroInit): time 0.001452/0.3632, allocations: 0.7705 MB / 436.8 MB, free: 37.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.3646, allocations: 1.266 MB / 438 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.3648, allocations: 6.562 kB / 438 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003599/0.3651, allocations: 53.92 kB / 438.1 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002099/0.3653, allocations: 72.67 kB / 438.2 MB, free: 36.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.3656, allocations: 113.2 kB / 438.3 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003709/0.366, allocations: 371.5 kB / 438.6 MB, free: 36.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.3661, allocations: 49.7 kB / 438.7 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001918/0.3663, allocations: 187.8 kB / 438.9 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002091/0.3665, allocations: 157.5 kB / 439 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.026e-05/0.3666, allocations: 8.75 kB / 439 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.464e-05/0.3666, allocations: 8.812 kB / 439 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.331e-05/0.3667, allocations: 85.08 kB / 439.1 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.877e-05/0.3667, allocations: 54.33 kB / 439.2 MB, free: 36.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.3669, allocations: 153.7 kB / 439.3 MB, free: 36.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3669, allocations: 0 / 439.3 MB, free: 36.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3669, allocations: 4 kB / 439.3 MB, free: 36.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.3669, allocations: 0 / 439.3 MB, free: 36.5 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.001313/0.3682, allocations: 0.6731 MB / 440 MB, free: 36.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.3683, allocations: 10.94 kB / 440 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.01e-05/0.3683, allocations: 52.11 kB / 440.1 MB, free: 35.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.736e-05/0.3684, allocations: 30.12 kB / 440.1 MB, free: 35.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006897/0.3691, allocations: 402.1 kB / 440.5 MB, free: 35.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.3691, allocations: 8.594 kB / 440.5 MB, free: 35.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.3692, allocations: 11.84 kB / 440.5 MB, free: 35.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/0.3694, allocations: 165.1 kB / 440.7 MB, free: 35.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3694, allocations: 0 / 440.7 MB, free: 35.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.3694, allocations: 14.25 kB / 440.7 MB, free: 35.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3695, allocations: 2.812 kB / 440.7 MB, free: 35.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002172/0.3697, allocations: 139.4 kB / 440.8 MB, free: 35.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008851/0.3706, allocations: 0.6604 MB / 441.5 MB, free: 35.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005346/0.3711, allocations: 223.8 kB / 441.7 MB, free: 35.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.556e-05/0.3712, allocations: 77.03 kB / 441.8 MB, free: 34.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.3712, allocations: 3.188 kB / 441.8 MB, free: 34.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.416e-05/0.3713, allocations: 33.31 kB / 441.8 MB, free: 34.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.3713, allocations: 0 / 441.8 MB, free: 34.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003894/0.3717, allocations: 241.2 kB / 442 MB, free: 34.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.3717, allocations: 83.92 kB / 442.1 MB, free: 34.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006748/0.3724, allocations: 433.8 kB / 442.5 MB, free: 34.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.3724, allocations: 29.7 kB / 442.6 MB, free: 34.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.521e-05/0.3725, allocations: 159.9 kB / 442.7 MB, free: 34.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.3725, allocations: 52.2 kB / 442.8 MB, free: 34.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-06/0.3725, allocations: 7.125 kB / 442.8 MB, free: 34.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.985e-05/0.3726, allocations: 338.1 kB / 443.1 MB, free: 34.01 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.666e-05/0.3727, allocations: 58.34 kB / 443.2 MB, free: 34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.249e-05/0.3728, allocations: 83.17 kB / 443.3 MB, free: 33.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.3729, allocations: 75.94 kB / 443.3 MB, free: 33.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3729, allocations: 0 / 443.3 MB, free: 33.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002473/0.3732, allocations: 212.8 kB / 443.5 MB, free: 33.83 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.3732, allocations: 6.625 kB / 443.5 MB, free: 33.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3732, allocations: 0 / 443.5 MB, free: 33.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.3732, allocations: 0 / 443.5 MB, free: 33.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.3735, allocations: 55.72 kB / 443.6 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3735, allocations: 3.406 kB / 443.6 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002639/0.3738, allocations: 58.27 kB / 443.7 MB, free: 33.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.3738, allocations: 9.641 kB / 443.7 MB, free: 33.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.973e-05/0.3739, allocations: 143.8 kB / 443.8 MB, free: 33.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.949e-05/0.374, allocations: 25.5 kB / 443.8 MB, free: 33.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.961e-05/0.374, allocations: 37.81 kB / 443.9 MB, free: 33.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3741, allocations: 6.656 kB / 443.9 MB, free: 33.63 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.3741, allocations: 0 / 443.9 MB, free: 33.63 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3741, allocations: 0 / 443.9 MB, free: 33.63 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002942/0.3744, allocations: 299.5 kB / 444.2 MB, free: 33.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3744, allocations: 0 / 444.2 MB, free: 33.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.3745, allocations: 25.34 kB / 444.2 MB, free: 33.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3746, allocations: 2.75 kB / 444.2 MB, free: 33.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.3746, allocations: 2.938 kB / 444.2 MB, free: 33.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3746, allocations: 0 / 444.2 MB, free: 33.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.3746, allocations: 0 / 444.2 MB, free: 33.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003822/0.375, allocations: 459.6 kB / 444.7 MB, free: 33.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.495e-05/0.375, allocations: 117.2 kB / 444.8 MB, free: 32.97 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.719e-05/0.3751, allocations: 7 kB / 444.8 MB, free: 32.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003344/0.3754, allocations: 45.45 kB / 444.8 MB, free: 32.97 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.752e-05/0.3755, allocations: 12.61 kB / 444.8 MB, free: 32.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-06/0.3755, allocations: 3.062 kB / 444.8 MB, free: 32.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005706/0.3761, allocations: 337.9 kB / 445.2 MB, free: 32.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3761, allocations: 0 / 445.2 MB, free: 32.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002951/0.3764, allocations: 35.78 kB / 445.2 MB, free: 32.84 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 (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.0005725/0.3769, allocations: 0.9854 MB / 446.2 MB, free: 32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002387/0.3772, allocations: 145.7 kB / 446.3 MB, free: 31.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3772, allocations: 0 / 446.3 MB, free: 31.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.479e-05/0.3773, allocations: 74.75 kB / 446.4 MB, free: 31.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004505/0.3778, allocations: 40.44 kB / 446.4 MB, free: 31.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003667/0.3814, allocations: 2.096 MB / 448.5 MB, free: 31.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.3817, allocations: 0.7845 MB / 449.3 MB, free: 30.33 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001203/0.3818, allocations: 51.78 kB / 449.4 MB, free: 30.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.3819, allocations: 87.28 kB / 449.5 MB, free: 30.26 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.382, allocations: 0 / 449.5 MB, free: 30.26 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01443/0.3964, allocations: 4.886 MB / 454.3 MB, free: 29.93 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001361/0.3966, allocations: 169.8 kB / 454.5 MB, free: 29.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/2.2, allocations: 4 kB / 454.5 MB, free: 29.68 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/linux/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) Environment - environmentSimulation: