Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_SR01.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_SR01,fileNamePrefix="AES_AES_Devel_test_models_Test_SR01",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_SR01,fileNamePrefix="AES_AES_Devel_test_models_Test_SR01",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.0008251/0.0008252, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001084/0.001084, allocations: 168.7 kB / 15.95 MB, free: 204 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.34/1.34, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2096/0.2096, allocations: 22.35 MB / 313.4 MB, free: 13.09 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003133/0.0003134, allocations: 15.98 kB / 382 MB, free: 10.47 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2795, allocations: 55.98 MB / 438 MB, free: 39.13 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.0007013/0.2802, allocations: 435.3 kB / 438.4 MB, free: 38.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001158/0.2804, allocations: 30.03 kB / 438.5 MB, free: 38.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.671e-05/0.2804, allocations: 0 / 438.5 MB, free: 38.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.327e-05/0.2804, allocations: 0 / 438.5 MB, free: 38.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.735e-05/0.2805, allocations: 3.938 kB / 438.5 MB, free: 38.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.569e-05/0.2806, allocations: 10.11 kB / 438.5 MB, free: 38.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.12e-05/0.2806, allocations: 13.09 kB / 438.5 MB, free: 38.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.884e-05/0.2807, allocations: 5.781 kB / 438.5 MB, free: 38.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.806e-05/0.2807, allocations: 10.62 kB / 438.5 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.407e-05/0.2808, allocations: 12.89 kB / 438.5 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.2808, allocations: 0 / 438.5 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.947e-06/0.2808, allocations: 2.5 kB / 438.5 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.005e-05/0.2808, allocations: 3.938 kB / 438.5 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.544e-05/0.2809, allocations: 25.7 kB / 438.6 MB, free: 38.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.242e-05/0.2809, allocations: 15.78 kB / 438.6 MB, free: 38.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2809, allocations: 4 kB / 438.6 MB, free: 38.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2809, allocations: 0 / 438.6 MB, free: 38.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.2809, allocations: 0 / 438.6 MB, free: 38.76 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000266/0.2812, allocations: 320.2 kB / 438.9 MB, free: 38.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.2812, allocations: 9.844 kB / 438.9 MB, free: 38.41 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.384e-05/0.2813, allocations: 40.56 kB / 438.9 MB, free: 38.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.919e-05/0.2813, allocations: 0 / 438.9 MB, free: 38.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.182e-05/0.2814, allocations: 161.9 kB / 439.1 MB, free: 38.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.687e-06/0.2814, allocations: 0 / 439.1 MB, free: 38.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.2814, allocations: 10.94 kB / 439.1 MB, free: 38.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.865e-05/0.2815, allocations: 42.73 kB / 439.2 MB, free: 38.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.2815, allocations: 7.234 kB / 439.2 MB, free: 38.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.241e-06/0.2815, allocations: 0 / 439.2 MB, free: 38.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2815, allocations: 0 / 439.2 MB, free: 38.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.645e-05/0.2816, allocations: 12.78 kB / 439.2 MB, free: 38.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002488/0.2818, allocations: 257.9 kB / 439.4 MB, free: 37.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.981e-05/0.2819, allocations: 38.33 kB / 439.5 MB, free: 37.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.495e-05/0.2819, allocations: 25.75 kB / 439.5 MB, free: 37.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.282, allocations: 0 / 439.5 MB, free: 37.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.146e-05/0.282, allocations: 30.56 kB / 439.5 MB, free: 37.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.282, allocations: 2.875 kB / 439.5 MB, free: 37.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001323/0.2821, allocations: 52.42 kB / 439.6 MB, free: 37.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.804e-05/0.2821, allocations: 51.41 kB / 439.6 MB, free: 37.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.18e-05/0.2822, allocations: 105.2 kB / 439.7 MB, free: 37.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.993e-06/0.2822, allocations: 29.7 kB / 439.8 MB, free: 37.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.588e-05/0.2822, allocations: 84.05 kB / 439.8 MB, free: 37.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.321e-05/0.2823, allocations: 11.31 kB / 439.8 MB, free: 37.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/0.2823, allocations: 0 / 439.8 MB, free: 37.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.663e-05/0.2823, allocations: 318.1 kB / 440.2 MB, free: 37.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.356e-05/0.2823, allocations: 2.719 kB / 440.2 MB, free: 37.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.081e-05/0.2823, allocations: 5.031 kB / 440.2 MB, free: 37.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.151e-05/0.2824, allocations: 10.22 kB / 440.2 MB, free: 37.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.2824, allocations: 4 kB / 440.2 MB, free: 37.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.202e-05/0.2824, allocations: 51.44 kB / 440.2 MB, free: 37.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.2825, allocations: 4.344 kB / 440.2 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.2825, allocations: 2.719 kB / 440.2 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.2825, allocations: 0 / 440.2 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.041e-05/0.2825, allocations: 6.781 kB / 440.2 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.2825, allocations: 3 kB / 440.2 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.32e-05/0.2826, allocations: 0 / 440.2 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.2826, allocations: 4 kB / 440.2 MB, free: 37.04 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.2826, allocations: 116.5 kB / 440.4 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.2827, allocations: 7.797 kB / 440.4 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.2828, allocations: 75.09 kB / 440.4 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.2828, allocations: 3.281 kB / 440.4 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2828, allocations: 0 / 440.4 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.2828, allocations: 2.781 kB / 440.4 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.2829, allocations: 163 kB / 440.6 MB, free: 36.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2829, allocations: 4 kB / 440.6 MB, free: 36.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.169e-05/0.283, allocations: 7.906 kB / 440.6 MB, free: 36.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.283, allocations: 0 / 440.6 MB, free: 36.65 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.283, allocations: 7.891 kB / 440.6 MB, free: 36.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.283, allocations: 0 / 440.6 MB, free: 36.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.283, allocations: 11.86 kB / 440.6 MB, free: 36.63 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.759e-05/0.2831, allocations: 151 kB / 440.8 MB, free: 36.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.875e-05/0.2831, allocations: 88.95 kB / 440.9 MB, free: 36.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.2832, allocations: 6.844 kB / 440.9 MB, free: 36.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.675e-05/0.2832, allocations: 3.953 kB / 440.9 MB, free: 36.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/0.2832, allocations: 0 / 440.9 MB, free: 36.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.2833, allocations: 6.281 kB / 440.9 MB, free: 36.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.365e-05/0.2833, allocations: 82.25 kB / 441 MB, free: 36.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2833, allocations: 0 / 441 MB, free: 36.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002124/0.2835, allocations: 2.812 kB / 441 MB, free: 36.3 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (5): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002291/0.2837, allocations: 0.6894 MB / 441.7 MB, free: 35.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.106e-05/0.2838, allocations: 16.19 kB / 441.7 MB, free: 35.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2838, allocations: 0 / 441.7 MB, free: 35.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.027e-05/0.2839, allocations: 22.23 kB / 441.7 MB, free: 35.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.2841, allocations: 7.953 kB / 441.7 MB, free: 35.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004332/0.2846, allocations: 361.5 kB / 442.1 MB, free: 35.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.566e-05/0.2847, allocations: 0.6774 MB / 442.7 MB, free: 34.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.948e-05/0.2847, allocations: 7.938 kB / 442.7 MB, free: 34.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.424e-05/0.2847, allocations: 15.12 kB / 442.8 MB, free: 34.56 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2848, allocations: 0 / 442.8 MB, free: 34.56 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.008933/0.2937, allocations: 1.057 MB / 443.8 MB, free: 34.42 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001513/0.2939, allocations: 159.5 kB / 444 MB, free: 34.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.617/1.911, allocations: 4 kB / 444 MB, free: 34.17 MB / 350.1 MB (rm -f AES_AES.Devel_test_models.Test_SR01.pipe ; mkfifo AES_AES.Devel_test_models.Test_SR01.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SR01.pipe >> ../files/AES_AES.Devel_test_models.Test_SR01.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_SR01_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_SR01.fmu > AES_AES.Devel_test_models.Test_SR01.pipe 2>&1) Environment - environmentSimulation: