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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_001,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_001,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_001",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001329, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1781/0.1781, allocations: 22.35 MB / 313.3 MB, free: 13.15 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003048/0.0003049, allocations: 8 kB / 381.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2515, allocations: 55.98 MB / 437.9 MB, free: 39.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_001): time 0.001772/0.2533, allocations: 2.283 MB / 440.2 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008989/0.2542, allocations: 0.823 MB / 441 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.788e-05/0.2543, allocations: 9.344 kB / 441 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.2544, allocations: 43.3 kB / 441.1 MB, free: 36.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000208/0.2547, allocations: 128.2 kB / 441.2 MB, free: 36.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.2549, allocations: 105.5 kB / 441.3 MB, free: 36.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002439/0.2552, allocations: 290.1 kB / 441.6 MB, free: 36.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002987/0.2555, allocations: 278.7 kB / 441.8 MB, free: 36.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.2556, allocations: 168.4 kB / 442 MB, free: 36.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002277/0.2559, allocations: 248.2 kB / 442.2 MB, free: 36.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.399e-05/0.2559, allocations: 31.81 kB / 442.3 MB, free: 36.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.2561, allocations: 57.7 kB / 442.3 MB, free: 36.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.897e-05/0.2561, allocations: 123 kB / 442.4 MB, free: 36.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.127e-05/0.2562, allocations: 98.64 kB / 442.5 MB, free: 36.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.2565, allocations: 426.4 kB / 443 MB, free: 36.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.2565, allocations: 3.938 kB / 443 MB, free: 36.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2565, allocations: 0 / 443 MB, free: 36.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.2565, allocations: 0 / 443 MB, free: 36.15 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001073/0.2576, allocations: 0.6717 MB / 443.6 MB, free: 35.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.2576, allocations: 12.31 kB / 443.6 MB, free: 35.64 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.524e-05/0.2577, allocations: 69.41 kB / 443.7 MB, free: 35.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.509e-05/0.2578, allocations: 39 kB / 443.8 MB, free: 35.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.2581, allocations: 319.9 kB / 444.1 MB, free: 35.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.2581, allocations: 25.88 kB / 444.1 MB, free: 35.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.224e-05/0.2582, allocations: 28.53 kB / 444.1 MB, free: 35.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00054/0.2587, allocations: 403.6 kB / 444.5 MB, free: 35.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.2587, allocations: 0 / 444.5 MB, free: 35.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.521e-05/0.2588, allocations: 14.69 kB / 444.5 MB, free: 35.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.2588, allocations: 7.75 kB / 444.5 MB, free: 35.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005363/0.2593, allocations: 392.2 kB / 444.9 MB, free: 34.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001984/0.2613, allocations: 1.328 MB / 446.2 MB, free: 34.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004036/0.2617, allocations: 318 kB / 446.6 MB, free: 34.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.2618, allocations: 10.84 kB / 446.6 MB, free: 34.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.246e-05/0.2618, allocations: 37.47 kB / 446.6 MB, free: 34.05 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002196/0.262, allocations: 48.59 kB / 446.7 MB, free: 34.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.463e-06/0.262, allocations: 0 / 446.7 MB, free: 34.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001431/0.2635, allocations: 0.6714 MB / 447.3 MB, free: 33.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.028e-05/0.2635, allocations: 54.06 kB / 447.4 MB, free: 33.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002267/0.2637, allocations: 314 kB / 447.7 MB, free: 33.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.2638, allocations: 33.64 kB / 447.7 MB, free: 33.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.516e-05/0.2638, allocations: 199.2 kB / 447.9 MB, free: 33.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.888e-05/0.2639, allocations: 115.6 kB / 448 MB, free: 33.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.056e-05/0.2639, allocations: 4 kB / 448 MB, free: 33.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.144e-05/0.264, allocations: 350.2 kB / 448.4 MB, free: 32.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/0.2642, allocations: 162.9 kB / 448.5 MB, free: 32.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/0.2645, allocations: 214 kB / 448.7 MB, free: 32.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002678/0.2648, allocations: 181 kB / 448.9 MB, free: 32.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2648, allocations: 3.281 kB / 448.9 MB, free: 32.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009076/0.2657, allocations: 0.5182 MB / 449.4 MB, free: 32.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.2657, allocations: 6 kB / 449.4 MB, free: 32.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.2657, allocations: 160 / 449.4 MB, free: 32.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005421/0.2663, allocations: 92.81 kB / 449.5 MB, free: 32.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004506/0.2667, allocations: 102.6 kB / 449.6 MB, free: 32.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002666/0.267, allocations: 0.574 MB / 450.2 MB, free: 31.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002444/0.2673, allocations: 16.89 kB / 450.2 MB, free: 31.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.816e-05/0.2673, allocations: 15.05 kB / 450.2 MB, free: 31.75 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001279/0.2674, allocations: 156 kB / 450.4 MB, free: 31.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.132e-05/0.2675, allocations: 42.14 kB / 450.4 MB, free: 31.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009194/0.2684, allocations: 0.5022 MB / 450.9 MB, free: 31.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.2684, allocations: 3 kB / 450.9 MB, free: 31.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2684, allocations: 0 / 450.9 MB, free: 31.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.2684, allocations: 3.844 kB / 450.9 MB, free: 31.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.2699, allocations: 1.078 MB / 452 MB, free: 30.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2699, allocations: 2.625 kB / 452 MB, free: 30.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003866/0.2703, allocations: 83.12 kB / 452.1 MB, free: 30.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003921/0.2707, allocations: 83.59 kB / 452.2 MB, free: 30.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/0.2707, allocations: 16.44 kB / 452.2 MB, free: 30.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002301/0.271, allocations: 0.5804 MB / 452.8 MB, free: 30.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.271, allocations: 11.83 kB / 452.8 MB, free: 30.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.272, allocations: 0.7751 MB / 453.6 MB, free: 29.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.499e-05/0.2721, allocations: 112 kB / 453.7 MB, free: 29.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.814e-05/0.2721, allocations: 9.859 kB / 453.7 MB, free: 29.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.2724, allocations: 12.72 kB / 453.7 MB, free: 29.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.401e-05/0.2724, allocations: 25.36 kB / 453.7 MB, free: 29.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.2725, allocations: 17.22 kB / 453.7 MB, free: 29.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001505/0.2726, allocations: 226.8 kB / 454 MB, free: 29.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2726, allocations: 0 / 454 MB, free: 29.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000339/0.273, allocations: 110.2 kB / 454.1 MB, free: 29.41 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (tube.T[1],tube.T[2],tube.T[3],tube.T[4],tube.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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001033/0.274, allocations: 1.434 MB / 455.5 MB, free: 28.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006774/0.2747, allocations: 415.2 kB / 455.9 MB, free: 28.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2747, allocations: 0 / 455.9 MB, free: 28.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003722/0.2751, allocations: 216.4 kB / 456.1 MB, free: 28.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.2754, allocations: 76.64 kB / 456.2 MB, free: 28.06 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.2771, allocations: 2.319 MB / 458.5 MB, free: 26.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.2773, allocations: 0.8142 MB / 459.3 MB, free: 25.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002223/0.2775, allocations: 71.02 kB / 459.4 MB, free: 25.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.2777, allocations: 140.2 kB / 459.5 MB, free: 25.42 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2777, allocations: 0 / 459.5 MB, free: 25.42 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.668/1.945, allocations: 8.551 MB / 468.1 MB, free: 24.92 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000203/1.946, allocations: 190.9 kB / 468.3 MB, free: 24.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.871/3.817, allocations: 3.938 kB / 468.3 MB, free: 24.68 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_001_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_circuit_001.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe 2>&1) Environment - environmentSimulation: