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.0009623/0.0009624, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.005111/0.005111, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.333/1.333, allocations: 223.3 MB / 240.3 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1923/0.1923, allocations: 22.35 MB / 313.8 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004581/0.0004581, allocations: 8 kB / 382.7 MB, free: 10.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2737, allocations: 55.97 MB / 438.7 MB, free: 39.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.0006588/0.2744, allocations: 442.5 kB / 439.1 MB, free: 39.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001122/0.2745, allocations: 23.38 kB / 439.1 MB, free: 39.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.425e-05/0.2745, allocations: 0 / 439.1 MB, free: 39.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.27e-05/0.2746, allocations: 3.938 kB / 439.1 MB, free: 39.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.098e-05/0.2746, allocations: 4 kB / 439.1 MB, free: 39.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.028e-05/0.2747, allocations: 10.36 kB / 439.1 MB, free: 39.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.454e-05/0.2747, allocations: 11.75 kB / 439.2 MB, free: 39.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.827e-05/0.2748, allocations: 14.23 kB / 439.2 MB, free: 39.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.899e-05/0.2748, allocations: 10.41 kB / 439.2 MB, free: 39.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.766e-05/0.2749, allocations: 16.19 kB / 439.2 MB, free: 39.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.2749, allocations: 0 / 439.2 MB, free: 39.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.606e-06/0.2749, allocations: 2.906 kB / 439.2 MB, free: 39.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.22e-05/0.275, allocations: 0 / 439.2 MB, free: 39.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.489e-05/0.275, allocations: 36.27 kB / 439.2 MB, free: 39.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.822e-05/0.275, allocations: 17.19 kB / 439.3 MB, free: 39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.2751, allocations: 0 / 439.3 MB, free: 39 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.2751, allocations: 0 / 439.3 MB, free: 39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.494e-06/0.2751, allocations: 2.75 kB / 439.3 MB, free: 39 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.0002657/0.2753, allocations: 327.3 kB / 439.6 MB, free: 38.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.2754, allocations: 14.06 kB / 439.6 MB, free: 38.64 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.594e-05/0.2754, allocations: 34.75 kB / 439.6 MB, free: 38.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.902e-05/0.2754, allocations: 0.9375 kB / 439.6 MB, free: 38.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.036e-05/0.2755, allocations: 166.1 kB / 439.8 MB, free: 38.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.2755, allocations: 8.359 kB / 439.8 MB, free: 38.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.715e-06/0.2755, allocations: 6.938 kB / 439.8 MB, free: 38.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.664e-05/0.2756, allocations: 42.92 kB / 439.8 MB, free: 38.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.2756, allocations: 3.938 kB / 439.9 MB, free: 38.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-06/0.2756, allocations: 2.406 kB / 439.9 MB, free: 38.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.2757, allocations: 0 / 439.9 MB, free: 38.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.803e-05/0.2757, allocations: 15.95 kB / 439.9 MB, free: 38.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002441/0.2759, allocations: 256.3 kB / 440.1 MB, free: 38.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.217e-05/0.276, allocations: 44.11 kB / 440.2 MB, free: 38.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.252e-05/0.2761, allocations: 11.67 kB / 440.2 MB, free: 38.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.2761, allocations: 2.594 kB / 440.2 MB, free: 38.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.042e-05/0.2761, allocations: 33.8 kB / 440.2 MB, free: 37.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.2761, allocations: 0 / 440.2 MB, free: 37.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.000136/0.2763, allocations: 59.75 kB / 440.3 MB, free: 37.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.86e-05/0.2763, allocations: 54.53 kB / 440.3 MB, free: 37.87 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.292e-05/0.2763, allocations: 104.2 kB / 440.4 MB, free: 37.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.412e-06/0.2763, allocations: 25.7 kB / 440.4 MB, free: 37.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.109e-05/0.2764, allocations: 82.8 kB / 440.5 MB, free: 37.65 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.372e-05/0.2764, allocations: 3.906 kB / 440.5 MB, free: 37.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.895e-05/0.2764, allocations: 13.72 kB / 440.5 MB, free: 37.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.572e-05/0.2764, allocations: 313.8 kB / 440.9 MB, free: 37.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.426e-05/0.2765, allocations: 5.891 kB / 440.9 MB, free: 37.31 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.106e-05/0.2765, allocations: 10.94 kB / 440.9 MB, free: 37.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.091e-05/0.2765, allocations: 19.73 kB / 440.9 MB, free: 37.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2765, allocations: 3.938 kB / 440.9 MB, free: 37.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.996e-05/0.2766, allocations: 46.41 kB / 440.9 MB, free: 37.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.2766, allocations: 9.25 kB / 440.9 MB, free: 37.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.2766, allocations: 0.5156 kB / 440.9 MB, free: 37.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.2766, allocations: 2.5 kB / 440.9 MB, free: 37.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.312e-05/0.2767, allocations: 6.531 kB / 441 MB, free: 37.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.2767, allocations: 2.281 kB / 441 MB, free: 37.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.533e-05/0.2767, allocations: 8 kB / 441 MB, free: 37.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.2767, allocations: 0 / 441 MB, free: 37.24 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.043e-05/0.2768, allocations: 116.7 kB / 441.1 MB, free: 37.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.2768, allocations: 7.094 kB / 441.1 MB, free: 37.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/0.2769, allocations: 74.3 kB / 441.2 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.277, allocations: 0 / 441.2 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.277, allocations: 10.56 kB / 441.2 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.277, allocations: 0 / 441.2 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.2771, allocations: 170.6 kB / 441.3 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.2771, allocations: 2.562 kB / 441.3 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.153e-05/0.2771, allocations: 9.344 kB / 441.3 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2772, allocations: 0 / 441.3 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.2772, allocations: 3.75 kB / 441.4 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2772, allocations: 0 / 441.4 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2772, allocations: 64 / 441.4 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.357e-05/0.2773, allocations: 165.4 kB / 441.5 MB, free: 36.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.757e-05/0.2773, allocations: 84.95 kB / 441.6 MB, free: 36.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.838e-06/0.2773, allocations: 0 / 441.6 MB, free: 36.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.469e-05/0.2774, allocations: 2.438 kB / 441.6 MB, free: 36.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.483e-05/0.2774, allocations: 3.234 kB / 441.6 MB, free: 36.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.2774, allocations: 2.75 kB / 441.6 MB, free: 36.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.107e-05/0.2774, allocations: 82.16 kB / 441.7 MB, free: 36.51 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2774, allocations: 0 / 441.7 MB, free: 36.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002119/0.2776, allocations: 5.719 kB / 441.7 MB, free: 36.51 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002082/0.2778, allocations: 0.6855 MB / 442.4 MB, free: 35.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.466e-05/0.2779, allocations: 19 kB / 442.4 MB, free: 35.83 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.2779, allocations: 0 / 442.4 MB, free: 35.83 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.95e-05/0.278, allocations: 19.97 kB / 442.4 MB, free: 35.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.2782, allocations: 10.97 kB / 442.4 MB, free: 35.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006223/0.2789, allocations: 1.185 MB / 443.6 MB, free: 34.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.163e-05/0.279, allocations: 0.6824 MB / 444.3 MB, free: 33.94 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.971e-05/0.279, allocations: 9.094 kB / 444.3 MB, free: 33.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.446e-05/0.279, allocations: 17.23 kB / 444.3 MB, free: 33.92 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.279, allocations: 0 / 444.3 MB, free: 33.92 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1258/0.4049, allocations: 1.055 MB / 445.4 MB, free: 33.77 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000129/0.4051, allocations: 160.3 kB / 445.5 MB, free: 33.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/2.107, allocations: 0 / 445.5 MB, free: 33.52 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/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)