Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_HP_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_HP_001,fileNamePrefix="AES_AES_Devel_test_models_Test_HP_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_HP_001,fileNamePrefix="AES_AES_Devel_test_models_Test_HP_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.006147/0.006147, allocations: 109 kB / 15.74 MB, free: 5.984 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.001213/0.001213, allocations: 197.8 kB / 16.68 MB, free: 5.906 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.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 4.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1879/0.1879, allocations: 22.35 MB / 312.9 MB, free: 12.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 60.72 kB / 436.6 MB, free: 34.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09175/0.093, allocations: 54.96 MB / 491.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HP_001): time 0.002057/0.09509, allocations: 1.697 MB / 493.2 MB, free: 136 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002074/0.09531, allocations: 55.8 kB / 493.3 MB, free: 80 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.398e-05/0.09537, allocations: 7.938 kB / 493.3 MB, free: 72 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.753e-05/0.09543, allocations: 3.938 kB / 493.3 MB, free: 68 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.09559, allocations: 23.78 kB / 493.3 MB, free: 44 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.536e-05/0.09565, allocations: 19.97 kB / 493.3 MB, free: 24 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.09579, allocations: 79.66 kB / 493.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.09595, allocations: 32.22 kB / 493.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.982e-05/0.096, allocations: 31.86 kB / 493.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.987e-05/0.09609, allocations: 35.84 kB / 493.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.09612, allocations: 8 kB / 493.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.372e-05/0.09614, allocations: 8 kB / 493.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.498e-05/0.09617, allocations: 15.98 kB / 493.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.112e-05/0.09621, allocations: 35.81 kB / 493.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.09633, allocations: 88.47 kB / 493.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.09634, allocations: 3.938 kB / 493.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.09635, allocations: 0 / 493.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.09636, allocations: 4 kB / 493.7 MB, free: 15.68 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004179/0.09679, allocations: 375.5 kB / 494.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.09683, allocations: 8.031 kB / 494.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.973e-05/0.09687, allocations: 46.73 kB / 494.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.7e-05/0.09691, allocations: 8.844 kB / 494.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.09702, allocations: 168.3 kB / 494.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.09704, allocations: 12.5 kB / 494.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.09706, allocations: 8.375 kB / 494.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.09722, allocations: 89.78 kB / 494.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.09724, allocations: 0 / 494.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.09726, allocations: 4 kB / 494.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.09726, allocations: 0 / 494.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.801e-05/0.09737, allocations: 53.28 kB / 494.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000544/0.09792, allocations: 457.6 kB / 494.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.697e-05/0.09803, allocations: 54.56 kB / 494.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.767e-05/0.09807, allocations: 24.86 kB / 495 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.09809, allocations: 4.031 kB / 495 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.09812, allocations: 38.56 kB / 495 MB, free: 14.17 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.09813, allocations: 0 / 495 MB, free: 14.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.000174/0.09831, allocations: 65.69 kB / 495.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.09835, allocations: 63.34 kB / 495.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.712e-05/0.09842, allocations: 109.8 kB / 495.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.09844, allocations: 25.7 kB / 495.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.076e-05/0.0985, allocations: 104.1 kB / 495.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.483e-05/0.09852, allocations: 15.66 kB / 495.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-05/0.09856, allocations: 29.72 kB / 495.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.873e-05/0.09867, allocations: 318.8 kB / 495.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.166e-05/0.09871, allocations: 12.5 kB / 495.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.08e-05/0.09877, allocations: 38.56 kB / 495.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.131e-05/0.09885, allocations: 54.52 kB / 495.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.09886, allocations: 4 kB / 495.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001164/0.09898, allocations: 89.52 kB / 495.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.099, allocations: 4 kB / 495.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.09901, allocations: 3.938 kB / 495.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.09903, allocations: 8.172 kB / 495.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.09913, allocations: 15.94 kB / 495.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.09915, allocations: 7.938 kB / 496 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.556e-05/0.0992, allocations: 7.984 kB / 496 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.09921, allocations: 4 kB / 496 MB, free: 13.13 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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 7.279e-05/0.09929, allocations: 122.6 kB / 496.1 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.09932, allocations: 3.906 kB / 496.1 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001377/0.09946, allocations: 85.97 kB / 496.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.09948, allocations: 3.938 kB / 496.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.09948, allocations: 0 / 496.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.09949, allocations: 0 / 496.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.09968, allocations: 189.6 kB / 496.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.09969, allocations: 0 / 496.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.405e-05/0.09976, allocations: 12 kB / 496.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.09977, allocations: 4 kB / 496.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.09979, allocations: 0 / 496.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.09979, allocations: 3.938 kB / 496.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.0998, allocations: 0 / 496.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.09994, allocations: 175.5 kB / 496.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.233e-05/0.09999, allocations: 81.02 kB / 496.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.1, allocations: 0 / 496.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.771e-05/0.1001, allocations: 3.938 kB / 496.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.355e-05/0.1001, allocations: 8 kB / 496.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.1001, allocations: 4 kB / 496.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.942e-05/0.1001, allocations: 87.27 kB / 496.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1001, allocations: 0 / 496.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002417/0.1004, allocations: 19.91 kB / 496.8 MB, free: 12.25 MB / 366.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 (7): * Single equations (assignments): 7 * 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.0003666/0.1008, allocations: 0.6971 MB / 497.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000109/0.1009, allocations: 35.98 kB / 497.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1009, allocations: 3.938 kB / 497.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.51e-05/0.1009, allocations: 19.98 kB / 497.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.1012, allocations: 11.94 kB / 497.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004624/0.1017, allocations: 208 kB / 497.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.1019, allocations: 0.6964 MB / 498.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.39e-05/0.1019, allocations: 4 kB / 498.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.28e-05/0.102, allocations: 27.36 kB / 498.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.102, allocations: 0 / 498.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01521/0.1172, allocations: 1.505 MB / 500 MB, free: 9.008 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.167/7.284, allocations: 18.3 kB / 500 MB, free: 8.992 MB / 366.1 MB (rm -f AES_AES.Devel_test_models.Test_HP_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_HP_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_HP_001.pipe >> ../files/AES_AES.Devel_test_models.Test_HP_001.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_HP_001_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_HP_001.fmu > AES_AES.Devel_test_models.Test_HP_001.pipe 2>&1)