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.001361/0.001361, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001498/0.001498, allocations: 223 kB / 23.03 MB, free: 4.945 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.1025/0.1025, allocations: 22.94 MB / 336.1 MB, free: 12.42 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="cs",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="cs",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.002367/0.002367, allocations: 63.91 kB / 472.2 MB, free: 7.887 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3228, allocations: 59.29 MB / 0.519 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_006): time 0.003155/0.326, allocations: 2.261 MB / 0.5212 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.3272, allocations: 0.7493 MB / 0.5219 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.3273, allocations: 1.906 kB / 0.522 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001695/0.3275, allocations: 45.81 kB / 0.522 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.3277, allocations: 137.4 kB / 0.5221 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004784/0.3282, allocations: 150.3 kB / 0.5223 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005664/0.3288, allocations: 0.5661 MB / 0.5228 GB, free: 8.164 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004091/0.3292, allocations: 293.7 kB / 0.5231 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003994/0.3296, allocations: 270.3 kB / 0.5234 GB, free: 7.934 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005226/0.3301, allocations: 372.3 kB / 0.5237 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.3302, allocations: 60.31 kB / 0.5238 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.3304, allocations: 65.28 kB / 0.5238 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.3305, allocations: 184.3 kB / 0.524 GB, free: 7.688 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002418/0.3308, allocations: 243 kB / 0.5242 GB, free: 7.562 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006248/0.3314, allocations: 0.6528 MB / 0.5249 GB, free: 7.332 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3314, allocations: 0 / 0.5249 GB, free: 7.332 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3314, allocations: 0 / 0.5249 GB, free: 7.332 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.747e-05/0.3314, allocations: 4.688 kB / 0.5249 GB, free: 7.328 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.001887/0.3333, allocations: 0.7179 MB / 0.5256 GB, free: 6.863 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.075e-05/0.3334, allocations: 10.8 kB / 0.5256 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.333e-05/0.3334, allocations: 12.41 kB / 0.5256 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.436e-05/0.3335, allocations: 68.98 kB / 0.5257 GB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.3336, allocations: 47.06 kB / 0.5257 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004666/0.334, allocations: 292.5 kB / 0.526 GB, free: 6.559 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.148e-05/0.3341, allocations: 30.72 kB / 0.526 GB, free: 6.539 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.589e-05/0.3342, allocations: 31.34 kB / 0.5261 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009092/0.3351, allocations: 497.1 kB / 0.5265 GB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.3351, allocations: 0.6094 kB / 0.5265 GB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.09e-05/0.3351, allocations: 15.38 kB / 0.5265 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.3352, allocations: 7.625 kB / 0.5266 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009766/0.3361, allocations: 0.544 MB / 0.5271 GB, free: 6.133 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002708/0.3388, allocations: 1.161 MB / 0.5282 GB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007091/0.3395, allocations: 396 kB / 0.5286 GB, free: 5.359 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004422/0.34, allocations: 240.3 kB / 0.5288 GB, free: 5.258 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.93e-05/0.34, allocations: 9.094 kB / 0.5288 GB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/0.3401, allocations: 42.64 kB / 0.5289 GB, free: 5.207 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003986/0.3405, allocations: 69.16 kB / 0.5289 GB, free: 5.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 3.637e-06/0.3405, allocations: 0 / 0.5289 GB, free: 5.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.003529/0.344, allocations: 1.432 MB / 0.5303 GB, free: 4.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.344, allocations: 55.53 kB / 0.5304 GB, free: 4.438 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004069/0.3444, allocations: 357 kB / 0.5307 GB, free: 4.242 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.372e-05/0.3445, allocations: 34.89 kB / 0.5308 GB, free: 4.203 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.3446, allocations: 212 kB / 0.531 GB, free: 4.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.3447, allocations: 165.6 kB / 0.5311 GB, free: 3.891 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/0.3449, allocations: 117.1 kB / 0.5312 GB, free: 3.832 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.811e-05/0.345, allocations: 351.6 kB / 0.5316 GB, free: 3.504 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005397/0.3455, allocations: 248 kB / 0.5318 GB, free: 3.418 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005554/0.3461, allocations: 365.1 kB / 0.5322 GB, free: 3.207 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01032/0.3564, allocations: 2.238 MB / 0.5343 GB, free: 2.641 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-06/0.3564, allocations: 1.312 kB / 0.5343 GB, free: 2.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001368/0.3578, allocations: 0.713 MB / 0.535 GB, free: 2.344 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.3578, allocations: 7.094 kB / 0.535 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.3578, allocations: 3.719 kB / 0.5351 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.3578, allocations: 6.453 kB / 0.5351 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/0.3596, allocations: 297.9 kB / 0.5353 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/0.3613, allocations: 2.632 MB / 0.5379 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006286/0.362, allocations: 23.39 kB / 0.5379 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.481e-05/0.362, allocations: 28.41 kB / 0.538 GB, free: 15.66 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.0003397/0.3624, allocations: 178 kB / 0.5381 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.3625, allocations: 45.78 kB / 0.5382 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/0.3638, allocations: 0.6105 MB / 0.5388 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.3638, allocations: 5.781 kB / 0.5388 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.3638, allocations: 0 / 0.5388 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.3638, allocations: 2.766 kB / 0.5388 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002138/0.3659, allocations: 1.109 MB / 0.5399 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.3659, allocations: 0 / 0.5399 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001637/0.3676, allocations: 256.7 kB / 0.5401 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.13e-05/0.3676, allocations: 4.969 kB / 0.5401 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-05/0.3677, allocations: 17.97 kB / 0.5401 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002482/0.3701, allocations: 2.619 MB / 0.5427 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3701, allocations: 1.094 kB / 0.5427 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.3719, allocations: 0.886 MB / 0.5436 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.3721, allocations: 42.8 kB / 0.5436 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.865e-05/0.3722, allocations: 16.98 kB / 0.5436 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003945/0.3726, allocations: 20.47 kB / 0.5436 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.3727, allocations: 43.16 kB / 0.5437 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.687e-05/0.3727, allocations: 15.19 kB / 0.5437 GB, free: 11.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003567/0.3731, allocations: 248.8 kB / 0.5439 GB, free: 11.29 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3731, allocations: 0 / 0.5439 GB, free: 11.29 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006879/0.3738, allocations: 147.3 kB / 0.5441 GB, free: 11.27 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.002273/0.3761, allocations: 1.439 MB / 0.5455 GB, free: 10.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002035/0.3781, allocations: 0.5868 MB / 0.546 GB, free: 9.984 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.3781, allocations: 1.312 kB / 0.546 GB, free: 9.984 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009661/0.3791, allocations: 297.8 kB / 0.5463 GB, free: 9.855 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007027/0.3798, allocations: 102.6 kB / 0.5464 GB, free: 9.797 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00964/0.3894, allocations: 5.354 MB / 0.5517 GB, free: 6.219 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.3897, allocations: 215.9 kB / 0.5519 GB, free: 6.074 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00058/0.3903, allocations: 127.3 kB / 0.552 GB, free: 6.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003828/0.3907, allocations: 145 kB / 0.5521 GB, free: 5.91 MB / 398.1 MB Notification: Performance of SimCode: time 1.764e-06/0.3907, allocations: 192 / 0.5521 GB, free: 5.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04088/0.4316, allocations: 12.71 MB / 0.5645 GB, free: 13.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/14.28, allocations: 10.97 kB / 0.5645 GB, free: 13.79 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_006_fmu --startTime=0 --stopTime=1000 --stepSize=0.1 --timeout=50 --tolerance=1e-06 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.306714246980846] Failed to read output from testmodel.py, exit status != 0: 14.466846853028983 14.494450604 14.15828933 Calling exit ...