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.0008204/0.0008204, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005174/0.005174, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1998/0.1998, allocations: 22.34 MB / 313.8 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005414/0.0005414, allocations: 8 kB / 382.7 MB, free: 10.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2765, allocations: 55.98 MB / 438.7 MB, free: 39.42 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_001): time 0.001843/0.2784, allocations: 2.547 MB / 441.2 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009362/0.2793, allocations: 0.8327 MB / 442.1 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.2795, allocations: 5.406 kB / 442.1 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.2796, allocations: 35.84 kB / 442.1 MB, free: 36.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002359/0.2798, allocations: 104.9 kB / 442.2 MB, free: 36.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003092/0.2801, allocations: 118.7 kB / 442.3 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003761/0.2805, allocations: 0.541 MB / 442.9 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003282/0.2809, allocations: 296.9 kB / 443.1 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001807/0.281, allocations: 187.4 kB / 443.3 MB, free: 36.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003038/0.2814, allocations: 277.7 kB / 443.6 MB, free: 36.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.427e-05/0.2814, allocations: 33.56 kB / 443.6 MB, free: 36.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.2815, allocations: 63.09 kB / 443.7 MB, free: 36.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.655e-05/0.2816, allocations: 134.7 kB / 443.8 MB, free: 36.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.2818, allocations: 238.5 kB / 444.1 MB, free: 36.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003315/0.2821, allocations: 0.5376 MB / 444.6 MB, free: 35.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2822, allocations: 0 / 444.6 MB, free: 35.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2822, allocations: 7.938 kB / 444.6 MB, free: 35.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.2822, allocations: 0 / 444.6 MB, free: 35.88 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.001086/0.2833, allocations: 0.6724 MB / 445.3 MB, free: 35.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/0.2833, allocations: 12.72 kB / 445.3 MB, free: 35.37 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.374e-05/0.2834, allocations: 68.66 kB / 445.4 MB, free: 35.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.794e-05/0.2834, allocations: 40.66 kB / 445.4 MB, free: 35.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.2837, allocations: 329 kB / 445.7 MB, free: 35.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.2837, allocations: 28.25 kB / 445.7 MB, free: 35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.851e-05/0.2838, allocations: 29.38 kB / 445.8 MB, free: 34.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005803/0.2844, allocations: 410.2 kB / 446.2 MB, free: 34.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.2844, allocations: 0 / 446.2 MB, free: 34.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.829e-05/0.2845, allocations: 14.75 kB / 446.2 MB, free: 34.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.2845, allocations: 5.781 kB / 446.2 MB, free: 34.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005739/0.285, allocations: 391.7 kB / 446.6 MB, free: 34.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001998/0.2871, allocations: 1.332 MB / 447.9 MB, free: 33.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004232/0.2875, allocations: 309.3 kB / 448.2 MB, free: 33.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002883/0.2878, allocations: 201.8 kB / 448.4 MB, free: 33.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.2878, allocations: 15.03 kB / 448.4 MB, free: 33.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.543e-05/0.2878, allocations: 44.69 kB / 448.5 MB, free: 33.68 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002227/0.2881, allocations: 44.89 kB / 448.5 MB, free: 33.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.403e-06/0.2881, allocations: 0 / 448.5 MB, free: 33.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001524/0.2896, allocations: 0.6773 MB / 449.2 MB, free: 33.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.827e-05/0.2896, allocations: 54.09 kB / 449.2 MB, free: 33.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.2899, allocations: 321 kB / 449.6 MB, free: 33.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.2899, allocations: 29.7 kB / 449.6 MB, free: 33.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.346e-05/0.29, allocations: 195.5 kB / 449.8 MB, free: 32.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.047e-05/0.2901, allocations: 119 kB / 449.9 MB, free: 32.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.056e-05/0.2901, allocations: 36.72 kB / 449.9 MB, free: 32.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.719e-05/0.2902, allocations: 341.9 kB / 450.3 MB, free: 32.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/0.2904, allocations: 164.5 kB / 450.4 MB, free: 32.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002678/0.2907, allocations: 218.6 kB / 450.6 MB, free: 32.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005156/0.2912, allocations: 385.1 kB / 451 MB, free: 32.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2912, allocations: 6.812 kB / 451 MB, free: 32.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000954/0.2922, allocations: 0.5187 MB / 451.5 MB, free: 31.83 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.2922, allocations: 5.969 kB / 451.5 MB, free: 31.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2922, allocations: 4.156 kB / 451.5 MB, free: 31.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005815/0.2928, allocations: 88.7 kB / 451.6 MB, free: 31.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004421/0.2933, allocations: 100.5 kB / 451.7 MB, free: 31.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002702/0.2936, allocations: 0.5827 MB / 452.3 MB, free: 31.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/0.2938, allocations: 19.72 kB / 452.3 MB, free: 31.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.2939, allocations: 11.86 kB / 452.3 MB, free: 31.23 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001319/0.294, allocations: 162.3 kB / 452.5 MB, free: 31.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.432e-05/0.2941, allocations: 34.66 kB / 452.5 MB, free: 31.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009693/0.295, allocations: 0.5094 MB / 453 MB, free: 30.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.295, allocations: 3.281 kB / 453.1 MB, free: 30.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2951, allocations: 0 / 453.1 MB, free: 30.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.2951, allocations: 0 / 453.1 MB, free: 30.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/0.2965, allocations: 1.069 MB / 454.1 MB, free: 30.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.2965, allocations: 0 / 454.1 MB, free: 30.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004033/0.297, allocations: 86.06 kB / 454.2 MB, free: 30.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000424/0.2974, allocations: 85.22 kB / 454.3 MB, free: 30.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-05/0.2974, allocations: 14.2 kB / 454.3 MB, free: 30.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000242/0.2977, allocations: 0.5792 MB / 454.9 MB, free: 29.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2977, allocations: 3.281 kB / 454.9 MB, free: 29.63 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.2988, allocations: 0.7547 MB / 455.6 MB, free: 29.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.344e-05/0.2989, allocations: 123 kB / 455.8 MB, free: 29.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.256e-05/0.2989, allocations: 13.77 kB / 455.8 MB, free: 29.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/0.2992, allocations: 13.12 kB / 455.8 MB, free: 29.08 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.283e-05/0.2992, allocations: 21.39 kB / 455.8 MB, free: 29.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.2993, allocations: 12.38 kB / 455.8 MB, free: 29.08 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001661/0.2994, allocations: 232.4 kB / 456 MB, free: 28.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2995, allocations: 0 / 456 MB, free: 28.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003588/0.2998, allocations: 107.9 kB / 456.1 MB, free: 28.93 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001078/0.3009, allocations: 1.281 MB / 457.4 MB, free: 27.99 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007819/0.3017, allocations: 408.3 kB / 457.8 MB, free: 27.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3017, allocations: 1 kB / 457.8 MB, free: 27.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00045/0.3022, allocations: 227.1 kB / 458.1 MB, free: 27.78 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00048/0.3027, allocations: 87.3 kB / 458.1 MB, free: 27.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004833/0.3075, allocations: 4.35 MB / 462.5 MB, free: 25.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.3077, allocations: 0.8106 MB / 463.3 MB, free: 24.31 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002361/0.3079, allocations: 66.88 kB / 463.4 MB, free: 24.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/0.3081, allocations: 132.5 kB / 463.5 MB, free: 24.21 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3082, allocations: 4 kB / 463.5 MB, free: 24.21 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.284/2.592, allocations: 8.766 MB / 472.3 MB, free: 23.48 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000145/2.593, allocations: 210.8 kB / 472.5 MB, free: 23.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.983/4.575, allocations: 0 / 472.5 MB, free: 23.23 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/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)