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.007268/0.007268, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001755/0.001755, allocations: 195.1 kB / 16.67 MB, free: 5.977 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2107/0.2107, allocations: 22.35 MB / 312.9 MB, free: 12.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 63.16 kB / 436.6 MB, free: 34.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08404/0.08548, allocations: 54.97 MB / 491.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HP_001): time 0.002176/0.08769, allocations: 1.696 MB / 493.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002123/0.08791, allocations: 63.75 kB / 493.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.764e-05/0.08797, allocations: 4 kB / 493.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.647e-05/0.08802, allocations: 7.875 kB / 493.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.08817, allocations: 23.78 kB / 493.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.132e-05/0.08823, allocations: 11.98 kB / 493.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.08834, allocations: 83.64 kB / 493.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.08849, allocations: 36.22 kB / 493.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.754e-05/0.08854, allocations: 27.92 kB / 493.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.086e-05/0.08864, allocations: 39.78 kB / 493.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.08866, allocations: 8 kB / 493.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.378e-05/0.08868, allocations: 4 kB / 493.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.395e-05/0.08871, allocations: 15.98 kB / 493.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.456e-05/0.08876, allocations: 39.8 kB / 493.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.08889, allocations: 79.92 kB / 493.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.0889, allocations: 4 kB / 493.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.08891, allocations: 3.938 kB / 493.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.832e-06/0.08892, allocations: 0 / 493.7 MB, free: 15.54 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.0004314/0.08936, allocations: 375.4 kB / 494.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.0894, allocations: 8.031 kB / 494.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.313e-05/0.08945, allocations: 50.67 kB / 494.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.845e-05/0.08948, allocations: 8.891 kB / 494.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.0896, allocations: 168.3 kB / 494.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.08962, allocations: 4.562 kB / 494.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.08964, allocations: 12.38 kB / 494.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.08982, allocations: 94.84 kB / 494.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.08983, allocations: 0 / 494.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.08985, allocations: 8 kB / 494.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.08986, allocations: 0 / 494.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.923e-05/0.08997, allocations: 51.97 kB / 494.5 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005302/0.0905, allocations: 453.7 kB / 494.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.212e-05/0.09061, allocations: 54.56 kB / 495 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.768e-05/0.09066, allocations: 24.91 kB / 495 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.09068, allocations: 0 / 495 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.0907, allocations: 38.59 kB / 495 MB, free: 14.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 2.274e-06/0.09071, allocations: 4 kB / 495 MB, free: 14.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001785/0.0909, allocations: 73.58 kB / 495.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.09093, allocations: 59.34 kB / 495.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.922e-05/0.09101, allocations: 101.9 kB / 495.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.09103, allocations: 33.7 kB / 495.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.708e-05/0.09109, allocations: 104.2 kB / 495.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.09112, allocations: 23.78 kB / 495.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.09116, allocations: 21.72 kB / 495.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.98e-05/0.09126, allocations: 318.8 kB / 495.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.998e-05/0.0913, allocations: 12.5 kB / 495.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.06e-05/0.09135, allocations: 46.5 kB / 495.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.195e-05/0.09143, allocations: 50.56 kB / 495.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.09144, allocations: 0 / 495.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001185/0.09156, allocations: 85.62 kB / 495.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.09158, allocations: 7.984 kB / 495.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.09159, allocations: 4.062 kB / 495.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.09161, allocations: 4 kB / 495.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.09172, allocations: 20.06 kB / 496 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.09173, allocations: 0 / 496 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.843e-05/0.09178, allocations: 15.83 kB / 496 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.09179, allocations: 4 kB / 496 MB, free: 12.97 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.875e-05/0.09187, allocations: 122.6 kB / 496.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.0919, allocations: 7.953 kB / 496.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.09204, allocations: 78 kB / 496.2 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.09205, allocations: 3.938 kB / 496.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.09206, allocations: 0 / 496.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.09207, allocations: 3.984 kB / 496.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.09226, allocations: 193.6 kB / 496.4 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.09227, allocations: 0 / 496.4 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.738e-05/0.09234, allocations: 15.98 kB / 496.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.09235, allocations: 0 / 496.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.09236, allocations: 0 / 496.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.09237, allocations: 3.938 kB / 496.4 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.09237, allocations: 0 / 496.4 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.09254, allocations: 163.5 kB / 496.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.986e-05/0.0926, allocations: 89.05 kB / 496.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.09262, allocations: 4 kB / 496.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.919e-05/0.09268, allocations: 3.938 kB / 496.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.767e-05/0.09271, allocations: 4 kB / 496.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.09272, allocations: 0 / 496.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.257e-05/0.09276, allocations: 91.27 kB / 496.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09277, allocations: 4 kB / 496.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000234/0.09301, allocations: 15.95 kB / 496.8 MB, free: 12.09 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.0004167/0.09343, allocations: 0.6852 MB / 497.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001217/0.09356, allocations: 48.23 kB / 497.5 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.09357, allocations: 0 / 497.5 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.185e-05/0.09361, allocations: 28.2 kB / 497.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.09391, allocations: 13.38 kB / 497.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000472/0.09439, allocations: 200.1 kB / 497.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.09462, allocations: 0.6924 MB / 498.4 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.692e-05/0.09467, allocations: 8 kB / 498.4 MB, free: 10.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.596e-05/0.09472, allocations: 27.42 kB / 498.5 MB, free: 10.3 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.09472, allocations: 0 / 498.5 MB, free: 10.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01631/0.111, allocations: 1.492 MB / 500 MB, free: 8.871 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.26/7.371, allocations: 15.73 kB / 500 MB, free: 8.855 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 & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_HP_001_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1 AES_AES_Devel_test_models_Test_HP_001.fmu > AES_AES.Devel_test_models.Test_HP_001.pipe 2>&1)