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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 110.6 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002321/0.002321, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.597/1.597, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1106/0.1106, allocations: 24.13 MB / 336.6 MB, free: 11.54 MB / 270.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 67.89 kB / 470.9 MB, free: 8.797 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.379, allocations: 59.6 MB / 0.5181 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.TITO_rational_zeroInit): time 0.002259/0.3813, allocations: 1.133 MB / 0.5192 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.3829, allocations: 1.353 MB / 0.5205 GB, free: 7.344 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.3831, allocations: 3.781 kB / 0.5205 GB, free: 7.344 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003535/0.3834, allocations: 77.58 kB / 0.5206 GB, free: 7.301 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002211/0.3836, allocations: 86.94 kB / 0.5207 GB, free: 7.258 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.384, allocations: 161.1 kB / 0.5208 GB, free: 7.184 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000727/0.3847, allocations: 0.5397 MB / 0.5214 GB, free: 6.984 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.3848, allocations: 39.88 kB / 0.5214 GB, free: 6.961 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003425/0.3852, allocations: 193.1 kB / 0.5216 GB, free: 6.895 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002977/0.3855, allocations: 190.5 kB / 0.5218 GB, free: 6.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.514e-05/0.3855, allocations: 18.34 kB / 0.5218 GB, free: 6.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.839e-05/0.3856, allocations: 18.16 kB / 0.5218 GB, free: 6.824 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.3857, allocations: 99.33 kB / 0.5219 GB, free: 6.781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.729e-05/0.3858, allocations: 100 kB / 0.522 GB, free: 6.711 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.3861, allocations: 226.8 kB / 0.5222 GB, free: 6.617 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3861, allocations: 0 / 0.5222 GB, free: 6.617 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3861, allocations: 0 / 0.5222 GB, free: 6.617 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.3861, allocations: 1.188 kB / 0.5222 GB, free: 6.617 MB / 382.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.001625/0.3877, allocations: 0.6325 MB / 0.5228 GB, free: 6.215 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3878, allocations: 9.797 kB / 0.5228 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.413e-05/0.3878, allocations: 51.72 kB / 0.5229 GB, free: 6.164 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.145e-05/0.3879, allocations: 33.77 kB / 0.5229 GB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008614/0.3888, allocations: 351.6 kB / 0.5232 GB, free: 5.949 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.3888, allocations: 13.44 kB / 0.5233 GB, free: 5.945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.402e-05/0.3888, allocations: 20.34 kB / 0.5233 GB, free: 5.934 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.3891, allocations: 160.1 kB / 0.5234 GB, free: 5.848 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.3891, allocations: 0 / 0.5234 GB, free: 5.848 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.3891, allocations: 5.219 kB / 0.5234 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.3891, allocations: 3.219 kB / 0.5234 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002508/0.3894, allocations: 142.7 kB / 0.5236 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009964/0.3904, allocations: 0.6317 MB / 0.5242 GB, free: 5.379 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005936/0.391, allocations: 215.3 kB / 0.5244 GB, free: 5.285 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.3911, allocations: 70.89 kB / 0.5245 GB, free: 5.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.3911, allocations: 2.984 kB / 0.5245 GB, free: 5.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.3911, allocations: 31.78 kB / 0.5245 GB, free: 5.211 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.3911, allocations: 0 / 0.5245 GB, free: 5.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004818/0.3916, allocations: 250.6 kB / 0.5247 GB, free: 5.102 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.3916, allocations: 79.42 kB / 0.5248 GB, free: 5.008 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000881/0.3925, allocations: 427.6 kB / 0.5252 GB, free: 4.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.3925, allocations: 30.8 kB / 0.5252 GB, free: 4.805 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.686e-05/0.3926, allocations: 156.8 kB / 0.5254 GB, free: 4.668 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.485e-05/0.3927, allocations: 61.92 kB / 0.5255 GB, free: 4.617 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.944e-05/0.3927, allocations: 39.61 kB / 0.5255 GB, free: 4.586 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.902e-05/0.3928, allocations: 338.9 kB / 0.5258 GB, free: 4.262 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.3929, allocations: 59.42 kB / 0.5259 GB, free: 4.246 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.393, allocations: 86.31 kB / 0.526 GB, free: 4.207 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.3932, allocations: 148.3 kB / 0.5261 GB, free: 4.145 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3932, allocations: 0 / 0.5261 GB, free: 4.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002976/0.3935, allocations: 216 kB / 0.5263 GB, free: 4.043 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.3935, allocations: 5.25 kB / 0.5263 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3935, allocations: 1.375 kB / 0.5263 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.3936, allocations: 5.406 kB / 0.5263 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002785/0.3938, allocations: 48.67 kB / 0.5264 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3939, allocations: 2.281 kB / 0.5264 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003173/0.3942, allocations: 69.81 kB / 0.5264 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.3942, allocations: 7.156 kB / 0.5264 GB, free: 4.012 MB / 382.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 0.0001058/0.3943, allocations: 142.2 kB / 0.5266 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.66e-05/0.3944, allocations: 23.73 kB / 0.5266 GB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.635e-05/0.3944, allocations: 38.42 kB / 0.5266 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.3944, allocations: 5.828 kB / 0.5266 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3944, allocations: 1.125 kB / 0.5266 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3944, allocations: 3.188 kB / 0.5266 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003194/0.3948, allocations: 271.2 kB / 0.5269 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3948, allocations: 5.125 kB / 0.5269 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.3949, allocations: 23.78 kB / 0.5269 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3949, allocations: 1.75 kB / 0.5269 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.3949, allocations: 10.84 kB / 0.5269 GB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3949, allocations: 1.188 kB / 0.5269 GB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.395, allocations: 1.984 kB / 0.5269 GB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004436/0.3954, allocations: 438.4 kB / 0.5274 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.047e-05/0.3955, allocations: 38.36 kB / 0.5274 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4e-05/0.3955, allocations: 8.625 kB / 0.5274 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003943/0.3959, allocations: 47.72 kB / 0.5274 GB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.548e-05/0.3959, allocations: 12.84 kB / 0.5275 GB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.3959, allocations: 2.438 kB / 0.5275 GB, free: 3.305 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007066/0.3966, allocations: 335.3 kB / 0.5278 GB, free: 3.176 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3966, allocations: 0 / 0.5278 GB, free: 3.176 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003208/0.397, allocations: 38.7 kB / 0.5278 GB, free: 3.168 MB / 382.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.0005682/0.3975, allocations: 0.993 MB / 0.5288 GB, free: 2.332 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002815/0.3978, allocations: 145.2 kB / 0.5289 GB, free: 2.293 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3978, allocations: 0.9375 kB / 0.5289 GB, free: 2.293 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.3979, allocations: 74 kB / 0.529 GB, free: 2.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004661/0.3984, allocations: 55.86 kB / 0.5291 GB, free: 2.246 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005084/0.4035, allocations: 3.131 MB / 0.5321 GB, free: 444 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.4039, allocations: 0.78 MB / 0.5329 GB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001699/0.404, allocations: 51.28 kB / 0.5329 GB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.4042, allocations: 88.88 kB / 0.533 GB, free: 15.66 MB / 398.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4042, allocations: 0 / 0.533 GB, free: 15.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03653/0.4407, allocations: 5.193 MB / 0.5381 GB, free: 14.71 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.88, allocations: 13.19 kB / 0.5381 GB, free: 14.7 MB / 398.1 MB " [Timeout remaining time 648] (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 --stepSize=0.002 --timeout=50 --tolerance=1e-06 AES_AES_ProcessBlocks_TITO_rational_zeroInit.fmu > AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.680106327868998] Failed to read output from testmodel.py, exit status != 0: 11.982991919154301 12.000209237 11.610801929 Calling exit ...