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.001544/0.001544, allocations: 105.8 kB / 16.45 MB, free: 6.453 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.002109/0.002109, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.537/1.537, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.1084/0.1084, allocations: 24.11 MB / 333 MB, free: 12.62 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.002188/0.002188, allocations: 59.91 kB / 467.9 MB, free: 9.062 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3593, allocations: 59.57 MB / 0.5151 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_006): time 0.003199/0.3625, allocations: 2.45 MB / 0.5175 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.3638, allocations: 0.79 MB / 0.5182 GB, free: 7.285 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.364, allocations: 6.406 kB / 0.5182 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001798/0.3641, allocations: 53.45 kB / 0.5183 GB, free: 7.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002427/0.3644, allocations: 137.3 kB / 0.5184 GB, free: 7.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004431/0.3648, allocations: 143.9 kB / 0.5186 GB, free: 7.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000561/0.3654, allocations: 0.5653 MB / 0.5191 GB, free: 6.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004425/0.3658, allocations: 296.5 kB / 0.5194 GB, free: 6.703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003459/0.3662, allocations: 271.5 kB / 0.5197 GB, free: 6.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004872/0.3667, allocations: 367 kB / 0.52 GB, free: 6.445 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.3668, allocations: 60.22 kB / 0.5201 GB, free: 6.445 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.3669, allocations: 65.03 kB / 0.5201 GB, free: 6.441 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001775/0.367, allocations: 187.8 kB / 0.5203 GB, free: 6.348 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000258/0.3673, allocations: 270.9 kB / 0.5206 GB, free: 6.195 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006522/0.368, allocations: 0.6548 MB / 0.5212 GB, free: 5.961 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.368, allocations: 0 / 0.5212 GB, free: 5.961 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.368, allocations: 0 / 0.5212 GB, free: 5.961 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.457e-06/0.368, allocations: 1.344 kB / 0.5212 GB, free: 5.961 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.001799/0.3698, allocations: 0.7914 MB / 0.522 GB, free: 5.402 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.3698, allocations: 10.62 kB / 0.522 GB, free: 5.402 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.168e-05/0.3699, allocations: 68.8 kB / 0.5221 GB, free: 5.344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.37, allocations: 46.53 kB / 0.5221 GB, free: 5.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004104/0.3704, allocations: 358.6 kB / 0.5224 GB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.3705, allocations: 25.41 kB / 0.5225 GB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.32e-05/0.3706, allocations: 38.88 kB / 0.5225 GB, free: 4.996 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008635/0.3714, allocations: 497.3 kB / 0.523 GB, free: 4.809 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.3714, allocations: 0 / 0.523 GB, free: 4.809 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.963e-05/0.3715, allocations: 11.09 kB / 0.523 GB, free: 4.801 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.3715, allocations: 7.312 kB / 0.523 GB, free: 4.801 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.3725, allocations: 0.5475 MB / 0.5235 GB, free: 4.598 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002615/0.3751, allocations: 1.307 MB / 0.5248 GB, free: 3.926 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007434/0.3759, allocations: 395.4 kB / 0.5252 GB, free: 3.758 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004718/0.3763, allocations: 238.6 kB / 0.5254 GB, free: 3.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.438e-05/0.3764, allocations: 9.75 kB / 0.5254 GB, free: 3.656 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.3764, allocations: 40.95 kB / 0.5255 GB, free: 3.609 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003278/0.3767, allocations: 74.34 kB / 0.5255 GB, free: 3.578 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 1.593e-06/0.3767, allocations: 0 / 0.5255 GB, free: 3.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.003531/0.3802, allocations: 1.496 MB / 0.527 GB, free: 2.816 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.3803, allocations: 54.88 kB / 0.527 GB, free: 2.754 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004343/0.3807, allocations: 353.7 kB / 0.5274 GB, free: 2.566 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.3808, allocations: 34.89 kB / 0.5274 GB, free: 2.527 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.3809, allocations: 208 kB / 0.5276 GB, free: 2.352 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.381, allocations: 168.6 kB / 0.5278 GB, free: 2.219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/0.3812, allocations: 117.6 kB / 0.5279 GB, free: 2.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.038e-05/0.3813, allocations: 354.1 kB / 0.5282 GB, free: 1.828 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004981/0.3818, allocations: 255.1 kB / 0.5285 GB, free: 1.734 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005785/0.3824, allocations: 363.4 kB / 0.5288 GB, free: 1.516 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01008/0.3925, allocations: 2.391 MB / 0.5311 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.3925, allocations: 0 / 0.5311 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001333/0.3938, allocations: 0.7125 MB / 0.5318 GB, free: 480 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.3938, allocations: 10.44 kB / 0.5319 GB, free: 476 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.3938, allocations: 7.266 kB / 0.5319 GB, free: 476 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.3938, allocations: 6.25 kB / 0.5319 GB, free: 476 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001739/0.3956, allocations: 293.5 kB / 0.5321 GB, free: 464 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002364/0.398, allocations: 2.853 MB / 0.5349 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000563/0.3985, allocations: 23.72 kB / 0.535 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.441e-05/0.3986, allocations: 27.27 kB / 0.535 GB, free: 13.51 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.0003063/0.3989, allocations: 187.5 kB / 0.5352 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.859e-05/0.399, allocations: 41.75 kB / 0.5352 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.4003, allocations: 0.6128 MB / 0.5358 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.4003, allocations: 5.719 kB / 0.5358 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.4003, allocations: 1.219 kB / 0.5358 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.4003, allocations: 2.625 kB / 0.5358 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002169/0.4025, allocations: 1.204 MB / 0.537 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.4025, allocations: 0 / 0.537 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001627/0.4041, allocations: 256.2 kB / 0.5372 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.4041, allocations: 1.312 kB / 0.5372 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.949e-05/0.4042, allocations: 22.7 kB / 0.5372 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002448/0.4066, allocations: 2.841 MB / 0.54 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4066, allocations: 0 / 0.54 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.4083, allocations: 0.8909 MB / 0.5409 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/0.4085, allocations: 122.9 kB / 0.541 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.922e-05/0.4086, allocations: 11.28 kB / 0.541 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004045/0.409, allocations: 20.48 kB / 0.541 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.4091, allocations: 35.41 kB / 0.5411 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.332e-05/0.4091, allocations: 16.52 kB / 0.5411 GB, free: 8.859 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003288/0.4095, allocations: 251.4 kB / 0.5413 GB, free: 8.723 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4095, allocations: 1.344 kB / 0.5413 GB, free: 8.723 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006267/0.4101, allocations: 147.3 kB / 0.5415 GB, free: 8.703 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.001982/0.4121, allocations: 1.435 MB / 0.5429 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001669/0.4137, allocations: 0.5916 MB / 0.5434 GB, free: 7.422 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4137, allocations: 0 / 0.5434 GB, free: 7.422 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009074/0.4147, allocations: 302.3 kB / 0.5437 GB, free: 7.289 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006033/0.4153, allocations: 102.6 kB / 0.5438 GB, free: 7.227 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009949/0.4252, allocations: 5.358 MB / 0.5491 GB, free: 3.645 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005698/0.4258, allocations: 0.819 MB / 0.5499 GB, free: 2.887 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007085/0.4265, allocations: 119.4 kB / 0.55 GB, free: 2.836 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005073/0.427, allocations: 148.4 kB / 0.5501 GB, free: 2.723 MB / 398.1 MB Notification: Performance of SimCode: time 1.212e-06/0.427, allocations: 0 / 0.5501 GB, free: 2.723 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0474/0.4744, allocations: 11.76 MB / 0.5616 GB, free: 11.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.31, allocations: 0.6094 kB / 0.5616 GB, free: 11.64 MB / 414.1 MB " [Timeout remaining time 647] (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: 16.369182482128963] Failed to read output from testmodel.py, exit status != 0: 13.417652067029849 13.435868952 13.064665798 Calling exit ...