Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_006.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.00127/0.00127, allocations: 110.4 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.00168/0.00168, allocations: 215.8 kB / 22.25 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.533/1.533, allocations: 230.6 MB / 256 MB, free: 8 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.1098/0.1098, allocations: 24.13 MB / 336.6 MB, free: 11.45 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_liquid_circuit_006,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_006",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_006,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_006",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.002109/0.002109, allocations: 75.88 kB / 473.3 MB, free: 6.398 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3865, allocations: 59.59 MB / 0.5204 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_006): time 0.003219/0.3897, allocations: 2.45 MB / 0.5228 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.3911, allocations: 0.8002 MB / 0.5236 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.3912, allocations: 6.156 kB / 0.5236 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001934/0.3914, allocations: 45.84 kB / 0.5236 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002905/0.3917, allocations: 136.9 kB / 0.5238 GB, free: 7.734 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006003/0.3923, allocations: 150 kB / 0.5239 GB, free: 7.652 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000625/0.393, allocations: 0.5775 MB / 0.5245 GB, free: 7.379 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004082/0.3934, allocations: 288.6 kB / 0.5248 GB, free: 7.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004169/0.3938, allocations: 271.4 kB / 0.525 GB, free: 7.156 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005234/0.3943, allocations: 371.3 kB / 0.5254 GB, free: 7.004 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.739e-05/0.3944, allocations: 65.25 kB / 0.5254 GB, free: 7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.3945, allocations: 60.31 kB / 0.5255 GB, free: 7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.3947, allocations: 182.8 kB / 0.5257 GB, free: 6.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002811/0.395, allocations: 278.2 kB / 0.5259 GB, free: 6.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007623/0.3957, allocations: 0.6524 MB / 0.5266 GB, free: 6.516 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3957, allocations: 0 / 0.5266 GB, free: 6.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3957, allocations: 1.094 kB / 0.5266 GB, free: 6.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.16e-05/0.3958, allocations: 0 / 0.5266 GB, free: 6.516 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.002293/0.3981, allocations: 0.7135 MB / 0.5273 GB, free: 6.055 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.609e-05/0.3981, allocations: 10.36 kB / 0.5273 GB, free: 6.055 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001565/0.3983, allocations: 70.02 kB / 0.5273 GB, free: 5.996 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002229/0.3985, allocations: 46.66 kB / 0.5274 GB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000881/0.3994, allocations: 296.9 kB / 0.5277 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.48e-05/0.3994, allocations: 22.88 kB / 0.5277 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.3996, allocations: 34.03 kB / 0.5277 GB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.4012, allocations: 0.4895 MB / 0.5282 GB, free: 5.535 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.4012, allocations: 5.062 kB / 0.5282 GB, free: 5.531 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.511e-05/0.4013, allocations: 11.77 kB / 0.5282 GB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.22e-05/0.4013, allocations: 7.5 kB / 0.5282 GB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001623/0.4029, allocations: 0.5469 MB / 0.5288 GB, free: 5.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004488/0.4074, allocations: 1.272 MB / 0.53 GB, free: 4.684 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/0.4086, allocations: 396.6 kB / 0.5304 GB, free: 4.516 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00076/0.4093, allocations: 237.5 kB / 0.5306 GB, free: 4.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.926e-05/0.4094, allocations: 12.81 kB / 0.5306 GB, free: 4.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.4094, allocations: 37.08 kB / 0.5307 GB, free: 4.367 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006444/0.4101, allocations: 74.17 kB / 0.5307 GB, free: 4.336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 4.118e-06/0.4101, allocations: 1.125 kB / 0.5307 GB, free: 4.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.005927/0.416, allocations: 1.418 MB / 0.5321 GB, free: 3.668 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.416, allocations: 60.06 kB / 0.5322 GB, free: 3.602 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005219/0.4166, allocations: 360.5 kB / 0.5325 GB, free: 3.406 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.303e-05/0.4166, allocations: 30.95 kB / 0.5325 GB, free: 3.371 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.4167, allocations: 212.1 kB / 0.5327 GB, free: 3.188 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.4168, allocations: 169 kB / 0.5329 GB, free: 3.055 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002148/0.4171, allocations: 116.2 kB / 0.533 GB, free: 2.992 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.221e-05/0.4171, allocations: 354.9 kB / 0.5334 GB, free: 2.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004678/0.4176, allocations: 251 kB / 0.5336 GB, free: 2.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005016/0.4181, allocations: 356 kB / 0.5339 GB, free: 2.367 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01046/0.4286, allocations: 2.244 MB / 0.5361 GB, free: 1.793 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/0.4286, allocations: 1.156 kB / 0.5361 GB, free: 1.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001474/0.4301, allocations: 0.7065 MB / 0.5368 GB, free: 1.504 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.4301, allocations: 9.469 kB / 0.5368 GB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.4301, allocations: 3.812 kB / 0.5368 GB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.853e-05/0.4301, allocations: 6.156 kB / 0.5368 GB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/0.4318, allocations: 301.9 kB / 0.5371 GB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/0.4337, allocations: 2.638 MB / 0.5397 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005805/0.4343, allocations: 29.11 kB / 0.5397 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/0.4343, allocations: 27.27 kB / 0.5397 GB, free: 14.8 MB / 398.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: $DER.str1.w = 0.0 $DER.str2.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003303/0.4347, allocations: 181.9 kB / 0.5399 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.4348, allocations: 46.44 kB / 0.54 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/0.4361, allocations: 0.6094 MB / 0.5406 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.4361, allocations: 5.781 kB / 0.5406 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.4361, allocations: 0 / 0.5406 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.4361, allocations: 2.625 kB / 0.5406 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002118/0.4382, allocations: 1.18 MB / 0.5417 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.4383, allocations: 0 / 0.5417 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001508/0.4398, allocations: 254.6 kB / 0.542 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-06/0.4398, allocations: 1.375 kB / 0.542 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.317e-05/0.4398, allocations: 18.86 kB / 0.542 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002237/0.4421, allocations: 2.638 MB / 0.5446 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4421, allocations: 0 / 0.5446 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/0.4436, allocations: 0.8819 MB / 0.5454 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.4438, allocations: 46.83 kB / 0.5455 GB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.818e-05/0.4439, allocations: 17.33 kB / 0.5455 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003672/0.4442, allocations: 14.73 kB / 0.5455 GB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.4444, allocations: 40.58 kB / 0.5455 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.87e-05/0.4444, allocations: 13.61 kB / 0.5455 GB, free: 10.3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003168/0.4447, allocations: 260.2 kB / 0.5458 GB, free: 10.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4447, allocations: 0 / 0.5458 GB, free: 10.12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006279/0.4453, allocations: 149.3 kB / 0.5459 GB, free: 10.11 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (str1.T[1],str1.T[2],str1.T[3],str1.T[4],str1.T[5],str2.T[1],str2.T[2],str2.T[3],str2.T[4],str2.T[5]) * 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 (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001857/0.4472, allocations: 1.427 MB / 0.5473 GB, free: 9.055 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001712/0.4489, allocations: 0.5948 MB / 0.5479 GB, free: 8.777 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4489, allocations: 1.312 kB / 0.5479 GB, free: 8.777 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008543/0.4498, allocations: 297.5 kB / 0.5482 GB, free: 8.648 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007077/0.4505, allocations: 99.28 kB / 0.5483 GB, free: 8.594 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/0.461, allocations: 5.36 MB / 0.5535 GB, free: 4.996 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000536/0.4615, allocations: 0.8239 MB / 0.5543 GB, free: 4.238 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005173/0.4621, allocations: 119.1 kB / 0.5544 GB, free: 4.188 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000334/0.4624, allocations: 144.9 kB / 0.5546 GB, free: 4.078 MB / 398.1 MB Notification: Performance of SimCode: time 1.332e-06/0.4624, allocations: 0 / 0.5546 GB, free: 4.078 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04702/0.5094, allocations: 12.26 MB / 0.5666 GB, free: 11.37 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.08, allocations: 3.75 kB / 0.5666 GB, free: 11.37 MB / 414.1 MB " [Timeout remaining time 646] (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_006.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_liquid_circuit_006_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 AES_AES_Devel_test_models_Test_liquid_circuit_006.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.14499335999426] Failed to read output from testmodel.py, exit status != 0: 14.20050271799846 14.217300007 13.818059586 Calling exit ...