Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_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.001346/0.001346, allocations: 100.3 kB / 19.72 MB, free: 1.785 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.001564/0.001564, allocations: 209.5 kB / 23.01 MB, free: 4.621 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.1089/0.1089, allocations: 24.05 MB / 337.2 MB, free: 11.35 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.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit,fileNamePrefix="AES_AES_Devel_test_models_Test_analogue_TITOdecoupler_zeroInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit,fileNamePrefix="AES_AES_Devel_test_models_Test_analogue_TITOdecoupler_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.002108/0.002108, allocations: 67.89 kB / 471.5 MB, free: 8.742 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3405, allocations: 59.56 MB / 0.5186 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit): time 0.003053/0.3436, allocations: 1.886 MB / 0.5204 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00256/0.3462, allocations: 1.962 MB / 0.5224 GB, free: 6.449 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002458/0.3464, allocations: 15.47 kB / 0.5224 GB, free: 6.445 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005484/0.3469, allocations: 208 kB / 0.5226 GB, free: 6.344 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007177/0.3477, allocations: 313.6 kB / 0.5229 GB, free: 6.188 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000906/0.3486, allocations: 0.5332 MB / 0.5234 GB, free: 5.902 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00206/0.3506, allocations: 1.813 MB / 0.5252 GB, free: 5.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003138/0.3509, allocations: 132.1 kB / 0.5253 GB, free: 5.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.352, allocations: 0.6138 MB / 0.5259 GB, free: 4.848 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007664/0.3527, allocations: 0.5663 MB / 0.5264 GB, free: 4.633 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001495/0.3529, allocations: 84.28 kB / 0.5265 GB, free: 4.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000279/0.3532, allocations: 121.5 kB / 0.5266 GB, free: 4.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004538/0.3536, allocations: 340.4 kB / 0.527 GB, free: 4.469 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004139/0.354, allocations: 286.9 kB / 0.5272 GB, free: 4.277 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.3552, allocations: 0.9709 MB / 0.5282 GB, free: 3.855 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3552, allocations: 0.6562 kB / 0.5282 GB, free: 3.855 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3552, allocations: 0 / 0.5282 GB, free: 3.855 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.3552, allocations: 5.406 kB / 0.5282 GB, free: 3.852 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.004561/0.3598, allocations: 1.518 MB / 0.5297 GB, free: 3.094 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.3598, allocations: 15.39 kB / 0.5297 GB, free: 3.09 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001091/0.3599, allocations: 74.02 kB / 0.5298 GB, free: 3.027 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002135/0.3602, allocations: 94.14 kB / 0.5299 GB, free: 2.977 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002525/0.3627, allocations: 0.9686 MB / 0.5308 GB, free: 2.551 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.3627, allocations: 27.19 kB / 0.5308 GB, free: 2.539 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.846e-05/0.3628, allocations: 51.33 kB / 0.5309 GB, free: 2.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007714/0.3636, allocations: 433.4 kB / 0.5313 GB, free: 2.336 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.3636, allocations: 1.375 kB / 0.5313 GB, free: 2.336 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.657e-05/0.3636, allocations: 14.28 kB / 0.5313 GB, free: 2.324 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.3636, allocations: 7.562 kB / 0.5313 GB, free: 2.324 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.3647, allocations: 0.5145 MB / 0.5318 GB, free: 2.145 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002889/0.3675, allocations: 1.369 MB / 0.5331 GB, free: 1.492 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.369, allocations: 0.6847 MB / 0.5338 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004264/0.3694, allocations: 244.9 kB / 0.534 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/0.3694, allocations: 8.719 kB / 0.5341 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.3694, allocations: 37.38 kB / 0.5341 GB, free: 1.066 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 3.005e-06/0.3695, allocations: 1.062 kB / 0.5341 GB, free: 1.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002476/0.3719, allocations: 0.9571 MB / 0.535 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.372, allocations: 55.5 kB / 0.5351 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003004/0.375, allocations: 1.216 MB / 0.5363 GB, free: 264 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.089e-05/0.375, allocations: 35.73 kB / 0.5363 GB, free: 224 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003527/0.3754, allocations: 348.5 kB / 0.5366 GB, free: 15.94 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002728/0.3757, allocations: 175.3 kB / 0.5368 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.3759, allocations: 78.83 kB / 0.5369 GB, free: 15.76 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000217/0.3761, allocations: 325.3 kB / 0.5372 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005272/0.3766, allocations: 241.9 kB / 0.5374 GB, free: 15.36 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000604/0.3772, allocations: 244.4 kB / 0.5377 GB, free: 15.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004628/0.3818, allocations: 1.406 MB / 0.539 GB, free: 14.72 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.3818, allocations: 0 / 0.539 GB, free: 14.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001347/0.3832, allocations: 0.6824 MB / 0.5397 GB, free: 14.36 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.3832, allocations: 4.719 kB / 0.5397 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.3832, allocations: 4 kB / 0.5397 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.3832, allocations: 2.656 kB / 0.5397 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008772/0.3841, allocations: 161.2 kB / 0.5399 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.3841, allocations: 5.156 kB / 0.5399 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009987/0.3851, allocations: 163.3 kB / 0.54 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-05/0.3852, allocations: 13.62 kB / 0.54 GB, free: 14.23 MB / 398.1 MB Warning: Assuming fixed start value for the following 2 variables: D.Fcs1.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] D.Fcs2.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] 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 (56): * Single equations (assignments): 56 * 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.0004973/0.3857, allocations: 265.7 kB / 0.5403 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002164/0.3859, allocations: 79.23 kB / 0.5404 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.3861, allocations: 110.9 kB / 0.5405 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.3861, allocations: 4.125 kB / 0.5405 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.585e-05/0.3861, allocations: 5.312 kB / 0.5405 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.3861, allocations: 3.984 kB / 0.5405 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009027/0.387, allocations: 0.5977 MB / 0.5411 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3871, allocations: 4 kB / 0.5411 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004145/0.3875, allocations: 65.36 kB / 0.5411 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003301/0.3878, allocations: 94.53 kB / 0.5412 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.237e-05/0.3879, allocations: 18.64 kB / 0.5412 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002016/0.3899, allocations: 1.702 MB / 0.5429 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3899, allocations: 5.125 kB / 0.5429 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/0.3918, allocations: 1.108 MB / 0.544 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002792/0.3921, allocations: 116.1 kB / 0.5441 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.3922, allocations: 17.08 kB / 0.5441 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009942/0.3932, allocations: 143.5 kB / 0.5442 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.203e-05/0.3933, allocations: 30.41 kB / 0.5443 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.708e-05/0.3933, allocations: 19.38 kB / 0.5443 GB, free: 10.97 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002492/0.3958, allocations: 0.9434 MB / 0.5452 GB, free: 10.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3958, allocations: 1.344 kB / 0.5452 GB, free: 10.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005679/0.3964, allocations: 131.4 kB / 0.5453 GB, free: 10.46 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (Pdec.P11.x_scaled[1],Pdec.P12.x_scaled[1],Pdec.P21.x_scaled[1],Pdec.P22.x_scaled[1],D.D12.x_scaled[1],D.D21.x_scaled[1],D.Fcs2.x_scaled[1],D.Fcs1.x_scaled[1],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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002256/0.3986, allocations: 1.672 MB / 0.547 GB, free: 9.258 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009803/0.3996, allocations: 0.5239 MB / 0.5475 GB, free: 9.008 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3996, allocations: 0 / 0.5475 GB, free: 9.008 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007552/0.4004, allocations: 408.2 kB / 0.5479 GB, free: 8.746 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007683/0.4012, allocations: 135.4 kB / 0.548 GB, free: 8.668 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01589/0.417, allocations: 7.89 MB / 0.5557 GB, free: 4.145 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004901/0.4175, allocations: 442.1 kB / 0.5561 GB, free: 3.883 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004452/0.418, allocations: 153 kB / 0.5563 GB, free: 3.824 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004665/0.4184, allocations: 279.8 kB / 0.5565 GB, free: 3.59 MB / 398.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4184, allocations: 1.25 kB / 0.5565 GB, free: 3.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05113/0.4696, allocations: 16.47 MB / 0.5726 GB, free: 3.973 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/12.83, allocations: 4 kB / 0.5726 GB, free: 3.969 MB / 414.1 MB " [Timeout remaining time 647] (rm -f AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit.pipe ; mkfifo AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit.pipe >> ../files/AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_analogue_TITOdecoupler_zeroInit_fmu --startTime=0 --stopTime=25 --stepSize=0.05 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_analogue_TITOdecoupler_zeroInit.fmu > AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.426423978991807] Failed to read output from testmodel.py, exit status != 0: 12.95269297529012 12.975669994 12.616317562 Calling exit ...