Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_001.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.0007578/0.0007578, allocations: 84.44 kB / 20.71 MB, free: 3.855 MB / 18.57 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.000759/0.000759, allocations: 169.2 kB / 23.98 MB, free: 0.582 MB / 18.57 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 0.8207/0.8207, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.06014/0.06014, allocations: 18.13 MB / 278.8 MB, free: 11.52 MB / 266.7 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: translateModel(AES.Devel_test_models.Test_liquid_circuit_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_001") translateModel(AES.Devel_test_models.Test_liquid_circuit_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_001") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 416.3 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.929e-05, allocations: 6.922 kB / 416.3 MB, free: 12.46 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_001): time 0.002013/0.002032, allocations: 2.471 MB / 418.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000862/0.002894, allocations: 0.7912 MB / 419.6 MB, free: 10.26 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.11e-05/0.002985, allocations: 7.188 kB / 419.6 MB, free: 10.26 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.003114, allocations: 50.11 kB / 419.6 MB, free: 10.23 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.00329, allocations: 136 kB / 419.8 MB, free: 10.13 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000334/0.003624, allocations: 136.3 kB / 419.9 MB, free: 10.06 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003617/0.003986, allocations: 0.5586 MB / 420.5 MB, free: 9.789 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003494/0.004335, allocations: 352.7 kB / 420.8 MB, free: 9.633 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002214/0.004556, allocations: 247.5 kB / 421.1 MB, free: 9.535 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003125/0.004869, allocations: 313.7 kB / 421.4 MB, free: 9.434 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.9e-05/0.004938, allocations: 66.41 kB / 421.4 MB, free: 9.434 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.005059, allocations: 101.3 kB / 421.5 MB, free: 9.422 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.005191, allocations: 230.8 kB / 421.8 MB, free: 9.301 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.005358, allocations: 238.4 kB / 422 MB, free: 9.195 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005856/0.005944, allocations: 0.8107 MB / 422.8 MB, free: 8.902 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.005946, allocations: 0 / 422.8 MB, free: 8.902 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.005947, allocations: 0 / 422.8 MB, free: 8.902 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.005953, allocations: 1.188 kB / 422.8 MB, free: 8.902 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.00101/0.006964, allocations: 0.7802 MB / 423.6 MB, free: 8.398 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.006995, allocations: 11.05 kB / 423.6 MB, free: 8.398 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.902e-05/0.007074, allocations: 49.53 kB / 423.6 MB, free: 8.375 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/0.007385, allocations: 311.2 kB / 423.9 MB, free: 8.145 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.007408, allocations: 29.97 kB / 424 MB, free: 8.133 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.506e-05/0.007473, allocations: 45.48 kB / 424 MB, free: 8.117 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006461/0.008119, allocations: 0.5812 MB / 424.6 MB, free: 7.891 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.00813, allocations: 192 / 424.6 MB, free: 7.891 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.16e-05/0.008171, allocations: 16.19 kB / 424.6 MB, free: 7.879 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.00818, allocations: 14.72 kB / 424.6 MB, free: 7.875 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006408/0.00882, allocations: 0.5644 MB / 425.2 MB, free: 7.668 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001858/0.01068, allocations: 1.504 MB / 426.7 MB, free: 6.891 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004826/0.01116, allocations: 426.2 kB / 427.1 MB, free: 6.703 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003357/0.0115, allocations: 331.6 kB / 427.4 MB, free: 6.566 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.01153, allocations: 13.47 kB / 427.4 MB, free: 6.559 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.357e-05/0.01154, allocations: 37.94 kB / 427.5 MB, free: 6.516 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002136/0.01176, allocations: 73.56 kB / 427.6 MB, free: 6.492 MB / 330.7 MB Notification: Performance of pre-optimization done (n=38): time 1.273e-06/0.01176, allocations: 0 / 427.6 MB, free: 6.492 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.003173/0.01493, allocations: 1.943 MB / 429.5 MB, free: 5.641 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/0.01495, allocations: 56.44 kB / 429.6 MB, free: 5.578 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.01513, allocations: 284.7 kB / 429.8 MB, free: 5.414 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.01516, allocations: 35.05 kB / 429.9 MB, free: 5.375 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.34e-05/0.01524, allocations: 228.1 kB / 430.1 MB, free: 5.184 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.687e-05/0.01531, allocations: 166.2 kB / 430.3 MB, free: 5.051 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.01543, allocations: 109.8 kB / 430.4 MB, free: 4.996 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.093e-05/0.01547, allocations: 342.8 kB / 430.7 MB, free: 4.672 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003405/0.01581, allocations: 284.5 kB / 431 MB, free: 4.562 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003666/0.01618, allocations: 355.9 kB / 431.3 MB, free: 4.395 MB / 330.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.005352/0.02153, allocations: 2.417 MB / 433.7 MB, free: 3.652 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.02153, allocations: 1 kB / 433.7 MB, free: 3.652 MB / 330.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001094/0.02263, allocations: 0.852 MB / 434.6 MB, free: 3.184 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.02264, allocations: 10.53 kB / 434.6 MB, free: 3.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.02265, allocations: 1.281 kB / 434.6 MB, free: 3.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005823/0.02323, allocations: 195.6 kB / 434.8 MB, free: 3.086 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000351/0.02358, allocations: 149.8 kB / 434.9 MB, free: 3.043 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003896/0.02397, allocations: 1.163 MB / 436.1 MB, free: 1.914 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.02416, allocations: 26.53 kB / 436.1 MB, free: 1.898 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.167e-05/0.02419, allocations: 25.73 kB / 436.2 MB, free: 1.891 MB / 330.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.tube.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (58): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001483/0.02434, allocations: 190.8 kB / 436.3 MB, free: 1.723 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.669e-05/0.02439, allocations: 39.27 kB / 436.4 MB, free: 1.699 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.0254, allocations: 0.8025 MB / 437.2 MB, free: 1.223 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.0254, allocations: 5.562 kB / 437.2 MB, free: 1.223 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.02541, allocations: 0 / 437.2 MB, free: 1.223 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.02541, allocations: 3.984 kB / 437.2 MB, free: 1.219 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.02679, allocations: 1.312 MB / 438.5 MB, free: 368 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.02679, allocations: 0 / 438.5 MB, free: 368 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003435/0.02714, allocations: 117.9 kB / 438.6 MB, free: 340 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003892/0.02753, allocations: 162.4 kB / 438.8 MB, free: 256 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.382e-05/0.02756, allocations: 17.77 kB / 438.8 MB, free: 244 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004503/0.02801, allocations: 1.157 MB / 439.9 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.02801, allocations: 0 / 439.9 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.02924, allocations: 1.123 MB / 441.1 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.173e-05/0.02928, allocations: 37.98 kB / 441.1 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.805e-05/0.02933, allocations: 16.7 kB / 441.1 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.02949, allocations: 16.48 kB / 441.1 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/0.02956, allocations: 48.94 kB / 441.2 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.02958, allocations: 9.031 kB / 441.2 MB, free: 14.36 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001275/0.02971, allocations: 209.3 kB / 441.4 MB, free: 14.21 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02971, allocations: 0 / 441.4 MB, free: 14.21 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000312/0.03002, allocations: 145.2 kB / 441.5 MB, free: 14.19 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (tube.T[1],tube.T[2],tube.T[3],tube.T[4],tube.T[5],tube.T[6],tube.T[7],tube.T[8],tube.T[9],tube.T[10]) * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001327/0.03016, allocations: 129.6 kB / 441.7 MB, free: 14.08 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008765/0.03103, allocations: 0.6533 MB / 442.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.03103, allocations: 4.125 kB / 442.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004167/0.03145, allocations: 345.7 kB / 442.7 MB, free: 13.44 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.03176, allocations: 89.73 kB / 442.8 MB, free: 13.36 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.03309, allocations: 1.365 MB / 444.1 MB, free: 11.95 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001442/0.03323, allocations: 246.2 kB / 444.4 MB, free: 11.7 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.03338, allocations: 40.48 kB / 444.4 MB, free: 11.65 MB / 346.7 MB Notification: Performance of SimCode: time 4.81e-07/0.03338, allocations: 0 / 444.4 MB, free: 11.65 MB / 346.7 MB Notification: Performance of Templates: time 0.007298/0.04068, allocations: 9.801 MB / 454.2 MB, free: 1.863 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Devel_test_models.Test_liquid_circuit_001.makefile [Timeout 660] (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_001.sim & ./AES_AES.Devel_test_models.Test_liquid_circuit_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.725089498795569] Failed to read output from testmodel.py, exit status != 0: 0.04571483191102743 0.053923454 0.046038140000000005 Calling exit ...